Created
January 14, 2019 18:16
-
-
Save dhollinger/6d06335afa729f2a59692cb87a9cca43 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=R10K Webhook Service | |
After=syslog.target network.target | |
[Service] | |
Type=simple | |
EnvironmentFile=-/etc/sysconfig/webhook | |
RuntimeDirectory=puppet_webhook | |
User=root | |
TimeoutStartSec=90 | |
TimeoutStopSec=30 | |
RestartSec=10000 | |
ExecStart=/opt/puppetlabs/puppet/bin/puppet_webhook -c /etc/puppet_webhook/server.yml | |
ExecReload=/bin/kill -HUP $MAINPID | |
KillMode=process | |
Restart=on-failure | |
StandardOutput=syslog | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment