initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=SoftVowels Astro rebuild webhook
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Environment=WEBHOOK_PORT=4321
|
||||
Environment=REBUILD_TOKEN=change-me
|
||||
Environment=REPO_DIR=/opt/softvowels
|
||||
Environment=LOG_FILE=/var/log/softvowels-rebuild.log
|
||||
ExecStart=/usr/bin/node /opt/softvowels/scripts/webhook.js
|
||||
Restart=on-failure
|
||||
User=root
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user