spee.ch/docs/setup/conf/caddy/caddy.service
2018-11-09 16:36:34 -05:00

14 lines
347 B
Desktop File

[Unit]
Description=Caddy HTTP/2 web server
[Service]
User=www-data
Group=www-data
Environment=CADDYPATH=/opt/caddy/store
ExecStart=/usr/local/bin/caddy -agree=true -log=/opt/caddy/logs/caddy.log -conf=/opt/caddy/Caddyfile -root=/dev/null
ExecReload=/bin/kill -USR1 $MAINPID
LimitNOFILE=1048576
LimitNPROC=64
[Install]
WantedBy=multi-user.target