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.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/linhes/mythtv/mythbackend.service b/linhes/mythtv/mythbackend.service
new file mode 100644
index 0000000..e760e77
--- /dev/null
+++ b/linhes/mythtv/mythbackend.service
@@ -0,0 +1,13 @@
+[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
+ExecStart=/usr/bin/mythbackend
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target