3
0
This commit is contained in:
Arne Teuke
2025-10-23 17:21:00 +02:00
parent b50be96b34
commit 7f44883afd
5 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
[Unit]
Description=r10k Webhook Server
After=network.target haproxy.service
[Service]
Type=simple
User=puppet
Group=puppet
WorkingDirectory=/opt/r10k-webhook
ExecStart=/usr/bin/python3 /opt/r10k-webhook/webhook_server.py
Restart=always
RestartSec=5
Environment=R10K_WEBHOOK_SECRET=YOUR_SECRET_HERE
LimitNOFILE=65536
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target