00ca6c6
diff -Naur ../hitch-1.5.0.orig/hitch.service ./hitch.service
00ca6c6
--- ../hitch-1.5.0.orig/hitch.service	1970-01-01 01:00:00.000000000 +0100
00ca6c6
+++ ./hitch.service	2019-11-12 10:39:15.771247601 +0100
00ca6c6
@@ -0,0 +1,24 @@
0895aa4
+[Unit]
0895aa4
+Description=Network proxy that terminates TLS/SSL connections
0895aa4
+After=syslog.target network.target
0895aa4
+
0895aa4
+[Service]
0895aa4
+
0895aa4
+#
0895aa4
+# If you want to make changes to this file, please copy it to 
0895aa4
+# /etc/systemd/system/hitch.service and make your changes there.
0895aa4
+# This will override the file kept at /lib/systemd/system/hitch.service
0895aa4
+#
00ca6c6
+# Also see /etc/systemd/system/hitch.service.d/limit.conf
0895aa4
+#
0895aa4
+
0895aa4
+PIDFile=/run/hitch/hitch.pid
afceb4a
+RuntimeDirectory=hitch
00ca6c6
+Type=forking
0895aa4
+PrivateTmp=true
1a41ea0
+ExecStart=/usr/sbin/hitch --pidfile=/run/hitch/hitch.pid --config=/etc/hitch/hitch.conf
e266e15
+ExecReload=/usr/bin/kill -HUP $MAINPID
0895aa4
+
0895aa4
+[Install]
0895aa4
+WantedBy=multi-user.target
0895aa4
+
00ca6c6
diff -Naur ../hitch-1.5.0.orig/limit.conf ./limit.conf
00ca6c6
--- ../hitch-1.5.0.orig/limit.conf	1970-01-01 01:00:00.000000000 +0100
00ca6c6
+++ ./limit.conf	2019-11-12 10:41:21.177889537 +0100
00ca6c6
@@ -0,0 +1,12 @@
00ca6c6
+[Service]
00ca6c6
+# If you need to change limits, use this file.
00ca6c6
+# for example, if you max out the number of TCP connections,
00ca6c6
+# you can change the LimitNOFILE value below
00ca6c6
+# see "man systemd.exec" for more information.
00ca6c6
+
00ca6c6
+# Maximum size of the corefile.
00ca6c6
+LimitCORE=infinity
00ca6c6
+
00ca6c6
+# Max number of open files (including TCP connections)
00ca6c6
+LimitNOFILE=10240
00ca6c6
+