git-webhooks/git-webhooks.service

13 lines
308 B
SYSTEMD
Raw Permalink Normal View History

2024-08-01 18:19:05 +10:00
[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