[Unit] Description=Caddy-conf deploy webhook After=network.target caddy.service [Service] Type=simple ExecStart=/usr/bin/python3 /etc/caddy/scripts/webhook/webhook.py Restart=on-failure RestartSec=2 User=root ProtectSystem=full ReadWritePaths=/etc/caddy ProtectHome=true NoNewPrivileges=true PrivateTmp=true [Install] WantedBy=multi-user.target