Mercurial > hg > rlgwebd
view rlgwebd-stop @ 196:298a531776d6
Add an uninstall target to the Makefile.
Also a fix to the install target, and the initscript.
author | John "Elwin" Edwards |
---|---|
date | Thu, 14 Jan 2016 21:30:14 -0500 |
parents | 3bdee6371c3f |
children | a7cc38a0168d |
line wrap: on
line source
#!/usr/bin/env node var net = require('net'); var sockpath = "/var/run/rlgwebd.sock"; var sock = net.connect(sockpath, function () { sock.on('close', function () { if (process.argv[2] == "debug") console.log("Control socket closed"); }); sock.write("quit\n"); });