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