summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mopidy-user.service9
-rw-r--r--mopidy@.service1
2 files changed, 9 insertions, 1 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
diff --git a/mopidy@.service b/mopidy@.service
index 912ba3ff4873..1c7afb03f0a9 100644
--- a/mopidy@.service
+++ b/mopidy@.service
@@ -3,7 +3,6 @@ Description=mopidy
After=network.target
[Service]
-Type=simple
User=%I
ExecStart=/usr/bin/mopidy