summaryrefslogtreecommitdiff
path: root/community/mythtv/mythbackend.service
diff options
context:
space:
mode:
Diffstat (limited to 'community/mythtv/mythbackend.service')
-rw-r--r--community/mythtv/mythbackend.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/mythtv/mythbackend.service b/community/mythtv/mythbackend.service
new file mode 100644
index 000000000..9d92bd644
--- /dev/null
+++ b/community/mythtv/mythbackend.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=MythTV Backend
+After=network.target mysqld.service
+
+[Service]
+Type=simple
+Environment=HOME=/var/lib/mythtv
+User=mythtv
+ExecStart=/usr/bin/mythbackend --daemon --logpath /var/log/mythtv
+
+[Install]
+WantedBy=multi-user.target