[Unit] Description=Caddy HTTP/2 web server Documentation=https://caddyserver.com/docs After=network-online.target [Service] User=http Group=http Environment=CADDYPATH=/var/lib/caddy1 ExecStart=/usr/bin/caddy1 -agree -conf /etc/caddy1.conf ExecReload=/usr/bin/kill -USR1 $MAINPID PrivateTmp=true ProtectHome=true PrivateDevices=true ProtectSystem=strict ReadWritePaths=/var/lib/caddy1 AmbientCapabilities=CAP_NET_BIND_SERVICE [Install] WantedBy=multi-user.target