summaryrefslogtreecommitdiffstats
path: root/linhes/mythtv/mythbackend.service
diff options
context:
space:
mode:
Diffstat (limited to 'linhes/mythtv/mythbackend.service')
-rw-r--r--linhes/mythtv/mythbackend.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/linhes/mythtv/mythbackend.service b/linhes/mythtv/mythbackend.service
new file mode 100644
index 0000000..fb9f8b7
--- /dev/null
+++ b/linhes/mythtv/mythbackend.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=MythTV Backend
+Wants=network-online.target mysqld.service systemd-udev-settle.service
+After=network.target mysqld.service systemd-udev-settle.service
+
+[Service]
+Type=simple
+User=mythtv
+Environment="PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"
+ExecStart=/usr/bin/mythbackend --syslog local6
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target