mirror of
https://github.com/caddyserver/caddy.git
synced 2025-05-24 02:02:26 -04:00
Update Initscripts
"$(which caddy)" is not work at startup. After this change, I can run "insserv -d caddy" to start caddy automatically on boot.
This commit is contained in:
parent
97a631ec4c
commit
ee124a6d3c
2
dist/init/linux-sysvinit/caddy
vendored
2
dist/init/linux-sysvinit/caddy
vendored
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
DESC="the caddy web server"
|
DESC="the caddy web server"
|
||||||
NAME=caddy
|
NAME=caddy
|
||||||
DAEMON=$(which caddy)
|
DAEMON=/usr/local/bin/caddy
|
||||||
|
|
||||||
DAEMONUSER=www-data
|
DAEMONUSER=www-data
|
||||||
PIDFILE=/var/run/$NAME.pid
|
PIDFILE=/var/run/$NAME.pid
|
||||||
|
Loading…
x
Reference in New Issue
Block a user