summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2023-02-17 04:30:29 (GMT)
committerBritney Fransen <brfransen@gmail.com>2023-02-17 04:30:29 (GMT)
commitebc1cab4a2ecce3d444d0ba795833ccb1ec3defe (patch)
treea8d0befc817b5157a0e1872d0de3cf603e655bdb
parent875818ebef13a35221efe54c1778b9bb37d79f82 (diff)
downloadlinhes_pkgbuild-ebc1cab4a2ecce3d444d0ba795833ccb1ec3defe.zip
linhes_pkgbuild-ebc1cab4a2ecce3d444d0ba795833ccb1ec3defe.tar.gz
linhes_pkgbuild-ebc1cab4a2ecce3d444d0ba795833ccb1ec3defe.tar.bz2
mythtv: mythbackend.service: add PATH to Environment for mythfilldatabase xmltv
-rw-r--r--linhes/mythtv/__changelog3
-rw-r--r--linhes/mythtv/mythbackend.service3
-rw-r--r--linhes/mythtv/mythtv.desktop2
3 files changed, 5 insertions, 3 deletions
diff --git a/linhes/mythtv/__changelog b/linhes/mythtv/__changelog
index e14ae82..0be3e1e 100644
--- a/linhes/mythtv/__changelog
+++ b/linhes/mythtv/__changelog
@@ -1,3 +1,4 @@
PKGBUILD: disable jack and remove dep
PKGBUILD: move all opt deps to deps
-mythbackend.service: add --systemd-journal to exec
+mythbackend.service: add --syslog local6 to exec
+mythbackend.service: add Environment
diff --git a/linhes/mythtv/mythbackend.service b/linhes/mythtv/mythbackend.service
index 3535a1f..fb9f8b7 100644
--- a/linhes/mythtv/mythbackend.service
+++ b/linhes/mythtv/mythbackend.service
@@ -6,7 +6,8 @@ After=network.target mysqld.service systemd-udev-settle.service
[Service]
Type=simple
User=mythtv
-ExecStart=/usr/bin/mythbackend --systemd-journal
+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]
diff --git a/linhes/mythtv/mythtv.desktop b/linhes/mythtv/mythtv.desktop
index bf5b2f1..2a963dd 100644
--- a/linhes/mythtv/mythtv.desktop
+++ b/linhes/mythtv/mythtv.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
Name=MythTV
Comment=A frontend for all content on a mythtv-backend
-Exec=mythfrontend --syslog local7 --noupnp
+Exec=mythfrontend --syslog local6 --noupnp
Type=Application
Icon=mythtv