comparison rlgwebd-stop @ 195:3bdee6371c3f

Change various filenames. The shell script previously used to launch the daemon is now called "initscript". The script files have had the ".js" extension removed from their names.
author John "Elwin" Edwards
date Thu, 14 Jan 2016 20:52:29 -0500
parents rlgwebd-stop.js@5483d413a45b
children a7cc38a0168d
comparison
equal deleted inserted replaced
194:5483d413a45b 195:3bdee6371c3f
1 #!/usr/bin/env node
2
3 var net = require('net');
4 var sockpath = "/var/run/rlgwebd.sock";
5
6 var sock = net.connect(sockpath, function () {
7 sock.on('close', function () {
8 if (process.argv[2] == "debug")
9 console.log("Control socket closed");
10 });
11 sock.write("quit\n");
12 });