diff options
author | Peter Cai | 2016-07-05 14:17:39 +0800 |
---|---|---|
committer | Peter Cai | 2016-07-05 14:17:39 +0800 |
commit | 44d94ebe8c162ff08671b0d02a3c1f4054bea0a1 (patch) | |
tree | 814daa414ca5816dac2c210f7f52f3b59ec3fc13 /pofwjs.service | |
download | aur-44d94ebe8c162ff08671b0d02a3c1f4054bea0a1.tar.gz |
Initial commit
Signed-off-by: Peter Cai <peter@typeblog.net>
Diffstat (limited to 'pofwjs.service')
-rw-r--r-- | pofwjs.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pofwjs.service b/pofwjs.service new file mode 100644 index 000000000000..2bba70e951be --- /dev/null +++ b/pofwjs.service @@ -0,0 +1,14 @@ +[Unit] +Description=A port-forwarding program +After=network.target + +[Service] +User=nobody +Type=simple +WorkingDirectory=/etc/pofwjs +ExecStart=/usr/bin/pofwjs -c /etc/pofwjs/config.json +KillSignal=SIGINT +SuccessExitStatus=2 + +[Install] +WantedBy=multi-user.target |