summarylogtreecommitdiffstats
path: root/hitch.service
diff options
context:
space:
mode:
Diffstat (limited to 'hitch.service')
-rw-r--r--hitch.service19
1 files changed, 19 insertions, 0 deletions
diff --git a/hitch.service b/hitch.service
new file mode 100644
index 000000000000..dc92d10d2f99
--- /dev/null
+++ b/hitch.service
@@ -0,0 +1,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