add config files - https://gitlab.confdroid.com/internal/confdroid_management/-/issues/284
This commit is contained in:
@@ -1,19 +1,15 @@
|
||||
[Unit]
|
||||
Description=r10k Webhook Server
|
||||
After=network.target haproxy.service
|
||||
Description=Webhook Service for r10k Deployment
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/local/bin/webhook -hooks /etc/webhook/hooks.json -port 8088
|
||||
Restart=always
|
||||
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
|
||||
WorkingDirectory=/etc/puppetlabs/code
|
||||
StandardOutput=syslog
|
||||
StandardError=syslog
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user