mirror of
https://github.com/caddyserver/caddy.git
synced 2025-02-10 10:06:44 +01: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
1 changed files with 1 additions and 1 deletions
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…
Reference in a new issue