summarylogtreecommitdiffstats
path: root/mopidy-user.service
diff options
context:
space:
mode:
authorMichishige Kaito2014-12-16 16:45:18 +0000
committerMichishige Kaito2014-12-16 16:45:18 +0000
commit6e7a01273b2f02d865c191d37361322dd564569c (patch)
tree8022e65cd93958d01767c4b93d838d8fd71e2c0e /mopidy-user.service
parent5bf4ed20c7a98ff2e031ec0c6dbc04db1c9b4a6d (diff)
downloadaur-6e7a01273b2f02d865c191d37361322dd564569c.tar.gz
mopidy-git: Add user-level unit.
As a program that should presumably run as the current user when he logs in, a user-level unit is the best possible fit, assuming the user runs a user slice (which is the default on Arch now).
Diffstat (limited to 'mopidy-user.service')
-rw-r--r--mopidy-user.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/mopidy-user.service b/mopidy-user.service
new file mode 100644
index 000000000000..c95ffa6f08ec
--- /dev/null
+++ b/mopidy-user.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=mopidy
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/mopidy
+
+[Install]
+WantedBy=default.target