[Unit] Description=Facere deploy webhook listener After=network-online.target Wants=network-online.target [Service] Type=simple User=ubuntu EnvironmentFile=/etc/facere-deploy.env ExecStart=/usr/bin/python3 /home/ubuntu/repo/facere-website/deploy/hook.py Restart=on-failure RestartSec=3 StandardOutput=append:/tmp/facere-deploy-hook.log StandardError=append:/tmp/facere-deploy-hook.log [Install] WantedBy=multi-user.target