hitch systemd
[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.environment | |
EnvironmentFile=-/etc/default/hitch | |
EnvironmentFile=-/etc/sysconfig/hitch | |
ExecStartPre=/usr/local/sbin/hitch -t $HITCH_OPTIONS | |
ExecStart=/usr/local/sbin/hitch --daemon $HITCH_OPTIONS | |
# If running the sighup branch: | |
# 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