git-webhooks/git-webhooks.service
2024-08-01 18:19:05 +10:00

13 lines
308 B
Desktop File

[Unit]
Description=Keeps the webhooks express server running
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/node webhooks.js
Restart=on-failure
User=webhooks
WorkingDirectory=/home/webhooks/git-webhooks
EnvironmentFile=/etc/systemd/system/git-webhooks.env
[Install]
WantedBy=multi-user.target