diff options
author | Christian Pointner <equinox@spreadspace.org> | 2015-05-13 05:40:55 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2015-05-13 07:00:24 +0200 |
commit | af2f2f91ab6750e8f7d36764b83d2eaec7cdfb26 (patch) | |
tree | d416e348d3629b2be439c39a85a52f9685bb506f /contrib/systemd.service | |
parent | cleanup after signale fixed (diff) |
added systemd service file
Diffstat (limited to 'contrib/systemd.service')
-rw-r--r-- | contrib/systemd.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/systemd.service b/contrib/systemd.service new file mode 100644 index 0000000..7bcf48e --- /dev/null +++ b/contrib/systemd.service @@ -0,0 +1,14 @@ +[Unit] +Description=tcp proxy server + +[Service] +ExecStart=/usr/bin/tcpproxy -u tcpproxy -g tcpproxy -D +ExecReload=/bin/kill -HUP $MAINPID +Restart=on-failure +PrivateTmp=yes +PrivateDevices=yes +ProtectSystem=full +ProtectHome=yes + +[Install] +WantedBy=multi-user.target |