comparison initscript @ 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 f06f2d1a5035
comparison
equal deleted inserted replaced
195:3bdee6371c3f 196:298a531776d6
1 #!/bin/sh 1 #!/bin/sh
2 2
3 NODE_PATH=/usr/lib/node_modules 3 NODE_PATH=/usr/lib/node_modules
4 LOGFILE=/var/log/rlgwebd.log 4 LOGFILE=/var/log/rlgwebd.log
5 CTLSOCKET=/var/run/rlgwebd.sock 5 CTLSOCKET=/var/run/rlgwebd.sock
6 RLGWEBDJS=./rlgwebd 6 RLGWEBDJS=/usr/local/bin/rlgwebd
7 7
8 export NODE_PATH 8 export NODE_PATH
9 9
10 if [ $UID != 0 ] 10 if [ $UID != 0 ]
11 then 11 then