summarylogtreecommitdiffstats
path: root/stuntman.service
diff options
context:
space:
mode:
authorSo Wieso2016-11-01 22:20:59 +0900
committerSo Wieso2016-11-01 22:20:59 +0900
commitf677654dda28f837d11f8f4e5701de7c9a36e001 (patch)
tree4982a7682903e0fb43a6d53e70ff4d58f1490396 /stuntman.service
downloadaur-f677654dda28f837d11f8f4e5701de7c9a36e001.tar.gz
Initial commit
Diffstat (limited to 'stuntman.service')
-rw-r--r--stuntman.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/stuntman.service b/stuntman.service
new file mode 100644
index 00000000000..55fb22432e5
--- /dev/null
+++ b/stuntman.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Stuntman STUN-Server
+After=network.target
+
+[Service]
+Type=simple
+User=nobody
+Group=nobody
+ExecStart=/usr/bin/stunserver
+ExecStop=/usr/bin/killall --user nobody stunserver
+
+[Install]
+WantedBy=multi-user.target
+