finish webhook sections - https://gitlab.confdroid.com/internal/confdroid_management/-/issues/284
This commit is contained in:
19
templates/r10k/r10k_webhook_service.erb
Normal file
19
templates/r10k/r10k_webhook_service.erb
Normal 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
|
||||
Reference in New Issue
Block a user