17 lines
366 B
Desktop File
17 lines
366 B
Desktop File
[Unit]
|
|
Description=Webhook Receiver für AufmaßWeb Deployment
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=root
|
|
WorkingDirectory=/opt/aufmassweb
|
|
ExecStart=/usr/bin/python3 /opt/aufmassweb/webhook_deploy.py
|
|
Restart=always
|
|
RestartSec=5
|
|
Environment=WEBHOOK_SECRET=change-me
|
|
Environment=DEPLOY_SCRIPT=/opt/aufmassweb/deploy.sh
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|