rc status added and init scripts fixed
This commit is contained in:
1 parent
9990e60387
commit
2e1b587226
8 files changed
+54
-4
No files matched your search
@@ -7,12 +7,14 @@ case "$1" in
|
||||
notify "Starting openrouter software "
|
||||
cd /srv/ftpd/auth_service_router/bin && ./auth_service &> /dev/null &
|
||||
cd /srv/ftpd/openrouter_adminpanel/bin && ./openrouter &> /dev/null &
|
||||
echo $! > /var/run/openrouterinit.pid
|
||||
check $?
|
||||
;;
|
||||
stop)
|
||||
notify "Stopping openrouter software "
|
||||
killall openrouter
|
||||
killall auth_service
|
||||
rm /var/run/openrouterinit.pid
|
||||
check $?
|
||||
;;
|
||||
restart|reload)
|
||||
|
||||
Reference in new issue
Block a user