123456789101112131415161718 |
- [Unit]
- Description=Caddy
- Documentation=https://caddyserver.com/docs/
- After=network.target
- [Service]
- User=root
- ExecStart=/usr/bin/caddy run --config /root/Caddyfile
- ExecReload=/usr/bin/caddy reload --config /root/Caddyfile
- TimeoutStopSec=5s
- LimitNOFILE=1048576
- LimitNPROC=512
- PrivateTmp=true
- ProtectSystem=full
- AmbientCapabilities=CAP_NET_BIND_SERVICE
- [Install]
- WantedBy=multi-user.target
|