Commit ee124a6d authored by Messyidea's avatar Messyidea Committed by GitHub

Update Initscripts

"$(which caddy)" is not work at startup. 
After this change, I can run "insserv -d caddy" to start caddy automatically on boot.
parent 97a631ec
......@@ -14,7 +14,7 @@
DESC="the caddy web server"
NAME=caddy
DAEMON=$(which caddy)
DAEMON=/usr/local/bin/caddy
DAEMONUSER=www-data
PIDFILE=/var/run/$NAME.pid
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment