summaryrefslogtreecommitdiff
path: root/pcr/mednafen-server/mednafen-server.service
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/mednafen-server/mednafen-server.service')
-rw-r--r--pcr/mednafen-server/mednafen-server.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/pcr/mednafen-server/mednafen-server.service b/pcr/mednafen-server/mednafen-server.service
new file mode 100644
index 000000000..9ee392432
--- /dev/null
+++ b/pcr/mednafen-server/mednafen-server.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Mednafen Server Daemon
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/mednafen-server /etc/mednafen-server/standard.conf >/var/log/mednafen-server.log 2>/var/log/mednafen-server.log.2
+
+[Install]
+WantedBy=multi-user.target