summarylogtreecommitdiffstats
path: root/stuntman.service
diff options
context:
space:
mode:
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 000000000000..55fb22432e59
--- /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
+