summarylogtreecommitdiffstats
path: root/service
diff options
context:
space:
mode:
Diffstat (limited to 'service')
-rw-r--r--service13
1 files changed, 13 insertions, 0 deletions
diff --git a/service b/service
new file mode 100644
index 000000000000..a991141595ff
--- /dev/null
+++ b/service
@@ -0,0 +1,13 @@
+[Unit]
+Description = Starts an instance of Retroarch
+After = remote-fs.target
+
+[Service]
+User = retroarch
+Group = retroarch
+Type = simple
+ExecStart = /usr/bin/retroarch
+Restart = on-failure
+
+[Install]
+WantedBy = multi-user.target