summarylogtreecommitdiffstats
path: root/hitch.service
blob: dc92d10d2f9999be021c7749345f844f2cfac76c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[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/bin/hitch -t $HITCH_OPTIONS
ExecStart=/usr/bin/hitch --daemon $HITCH_OPTIONS
ExecReload=/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target