mirror of
https://github.com/fumiama/terasu-cloudflared.git
synced 2026-06-09 20:50:34 +08:00
TUN-528: Move cloudflared into a separate repo
This commit is contained in:
25
vendor/github.com/mholt/caddy/dist/init/linux-upstart/caddy.conf
generated
vendored
Normal file
25
vendor/github.com/mholt/caddy/dist/init/linux-upstart/caddy.conf
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
description "Caddy HTTP/2 web server"
|
||||
|
||||
start on runlevel [2345]
|
||||
stop on runlevel [016]
|
||||
|
||||
console log
|
||||
|
||||
setuid www-data
|
||||
setgid www-data
|
||||
|
||||
respawn
|
||||
respawn limit 10 5
|
||||
|
||||
reload signal SIGUSR1
|
||||
|
||||
# Let's Encrypt certificates will be written to this directory.
|
||||
env CADDYPATH=/etc/ssl/caddy
|
||||
|
||||
limit nofile 1048576 1048576
|
||||
|
||||
script
|
||||
cd /etc/ssl/caddy
|
||||
rootdir="$(mktemp -d -t "caddy-run.XXXXXX")"
|
||||
exec /usr/local/bin/caddy -agree -log=stdout -conf=/etc/caddy/Caddyfile -root=$rootdir
|
||||
end script
|
||||
Reference in New Issue
Block a user