mirror of
https://github.com/msfjarvis/server-config
synced 2025-08-14 23:17:00 +05:30
22 lines
No EOL
388 B
Desktop File
22 lines
No EOL
388 B
Desktop File
[Unit]
|
|
Description=Caddy webserver service
|
|
After=network.target
|
|
|
|
[Service]
|
|
Restart=on-abort
|
|
Type=simple
|
|
User=caddy
|
|
WorkingDirectory=/etc/caddy
|
|
|
|
ExecStart=/usr/local/bin/caddy -log stdout -agree=true -conf=/etc/caddy/Caddyfile
|
|
ExecReload=/bin/kill -USR1 $MAINPID
|
|
|
|
KillMode=mixed
|
|
KillSignal=SIGQUIT
|
|
TimeoutStopSec=5s
|
|
|
|
LimitNOFILE=1048576
|
|
LimitNPROC=512
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |