Mercurial > hg > rlgwebd
diff rlgwebd-stop.js @ 194:5483d413a45b
RLGWebD: move the control socket into /var/run.
This is a more standard location. /run is preferred by systemd, but
portability to non-systemd systems is important.
author | John "Elwin" Edwards |
---|---|
date | Thu, 14 Jan 2016 19:10:46 -0500 |
parents | 80ca029f0906 |
children |
line wrap: on
line diff
--- a/rlgwebd-stop.js Sat Jan 02 14:33:48 2016 -0500 +++ b/rlgwebd-stop.js Thu Jan 14 19:10:46 2016 -0500 @@ -1,7 +1,7 @@ #!/usr/bin/env node var net = require('net'); -var sockpath = "/var/local/rlgwebd/ctl"; +var sockpath = "/var/run/rlgwebd.sock"; var sock = net.connect(sockpath, function () { sock.on('close', function () {