rc status added and init scripts fixed

This commit is contained in:
wt committed 2024-07-09 13:43:01 +07:00
1 parent 9990e60387
commit 2e1b587226
8 files changed
+54 -4

No files matched your search

+2
View File
@@ -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)