mirror of
https://gitlab.com/niansa/simpsh-httpd.git
synced 2025-03-06 20:53:36 +01:00
Update simpsh-httpd.service
This commit is contained in:
parent
236d03a3f3
commit
828a4f5afe
1 changed files with 2 additions and 2 deletions
|
@ -21,11 +21,11 @@ test -f /usr/bin/simpsh-httpd-socat || exit 0
|
|||
|
||||
case "$1" in
|
||||
start) log_daemon_msg "Starting simpsh-httpd" "simpsh-httpd"
|
||||
start-stop-daemon --start --quiet --name simpsh-httpd --startas /bin/bash /usr/bin/simpsh-httpd-socat -- $LSBNAMES
|
||||
start-stop-daemon --start --quiet --name simpsh-httpd --pidfile /run/lock/simpsh-httpd.pid --startas /bin/bash /usr/bin/simpsh-httpd-socat -- $LSBNAMES
|
||||
log_end_msg $?
|
||||
;;
|
||||
stop) log_daemon_msg "Stoping simpsh-httpd" "simpsh-httpd"
|
||||
start-stop-daemon --stop --quiet --name simpsh-htpd
|
||||
start-stop-daemon --stop --quiet --pidfile /run/lock/simpsh-httpd.pid --name simpsh-htpd
|
||||
log_end_msg $?
|
||||
;;
|
||||
restart) log_daemon_msg "Restarting simpsh-httpd" "simpsh-httpd"
|
||||
|
|
Loading…
Add table
Reference in a new issue