summarylogtreecommitdiffstats
path: root/murmur.service
diff options
context:
space:
mode:
authorFelix Singer2017-05-19 16:34:18 +0200
committerFelix Singer2017-05-19 16:34:18 +0200
commit45bff6c02688b61b1431da65a39a7a23557688b1 (patch)
treeb4d998a2821176da75f3dc331f25cae593f6b6af /murmur.service
parente99f6c008a83a214a26a2e3f2fa8d4f7fc7eaf8b (diff)
downloadaur-45bff6c02688b61b1431da65a39a7a23557688b1.tar.gz
Add systemd service, use variables
Diffstat (limited to 'murmur.service')
-rw-r--r--murmur.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/murmur.service b/murmur.service
new file mode 100644
index 00000000000..f4c9fd05920
--- /dev/null
+++ b/murmur.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=Mumble Daemon
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/murmur/murmur.pid
+ExecStart=/usr/bin/murmurd -ini /etc/murmur/murmur.ini
+User=murmur
+Group=murmur
+Restart=always
+PrivateDevices=true
+PrivateTmp=true
+ProtectSystem=full
+ProtectHome=true
+
+[Install]
+WantedBy=multi-user.target