Last active
November 6, 2015 14:15
-
-
Save lkarsten/59e0827ead63e41cf760 to your computer and use it in GitHub Desktop.
hitch systemd
This file contains 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=hitch | |
After=syslog.target network.target | |
[Service] | |
Type=forking | |
#Restart=on-failure | |
LimitNOFILE=131072 | |
Environment="HITCH_OPTIONS=--config /etc/hitch/hitch.conf" | |
EnvironmentFile=-/etc/hitch/hitch.params | |
EnvironmentFile=-/etc/default/hitch | |
EnvironmentFile=-/etc/sysconfig/hitch | |
ExecStartPre=/usr/local/sbin/hitch -t $HITCH_OPTIONS | |
ExecStart=/usr/local/sbin/hitch --daemon $HITCH_OPTIONS | |
ExecReload=/bin/kill -HUP $MAINPID | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
minor hitch fixed, removed -openssl prefix: https://gist.github.com/comotion/902c08daa468d083ad29