summarylogtreecommitdiffstats
path: root/service
diff options
context:
space:
mode:
authorSergey Slipchenko2019-01-20 21:20:56 +0300
committerSergey Slipchenko2019-01-20 21:20:56 +0300
commit2d38fc5ec160afd07d0bdaac1cfacdddd19bb283 (patch)
treea0ed5a2ee996d826c469ed6ca0c6f24cffee096a /service
parenta6b22ef046fa49448f837dc77bc7daabea106bba (diff)
downloadaur-2d38fc5ec160afd07d0bdaac1cfacdddd19bb283.tar.gz
More optimal build for usage on Raspberry Pi
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 00000000000..a991141595f
--- /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