mirror of
https://github.com/caddyserver/caddy.git
synced 2025-04-23 13:14:08 +08: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"
|
||||
NAME=caddy
|
||||
DAEMON=$(which caddy)
|
||||
DAEMON=/usr/local/bin/caddy
|
||||
|
||||
DAEMONUSER=www-data
|
||||
PIDFILE=/var/run/$NAME.pid
|
||||
|
Loading…
x
Reference in New Issue
Block a user