1
0
Fork 0
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:
niansa 2017-12-26 11:42:25 +01:00 committed by GitHub
parent 236d03a3f3
commit 828a4f5afe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"