[Unit]
Description=Timmy Tower Deploy Webhook Receiver
After=network.target

[Service]
Type=simple
User=root
WorkingDirectory=/opt/timmy-tower
ExecStart=/usr/bin/node /opt/timmy-tower/webhook.js
Restart=always
RestartSec=5
EnvironmentFile=/opt/timmy-tower/.env
StandardOutput=journal
StandardError=journal
SyslogIdentifier=timmy-deploy-hook

[Install]
WantedBy=multi-user.target
