diff options
author | Britney Fransen <brfransen@gmail.com> | 2023-02-21 05:17:23 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2023-02-21 05:17:23 (GMT) |
commit | 7e6e79f55fbfb5e5d1dc3829ccce7e2c4d1b1ed5 (patch) | |
tree | 5b30a5945014fc117ebc8a6848dfb97e8a8a4d80 /linhes/linhes-system/lh_mtc.cron | |
parent | 0c76a1a830e8492622ce8e58971fbeae18dd8574 (diff) | |
download | linhes_pkgbuild-7e6e79f55fbfb5e5d1dc3829ccce7e2c4d1b1ed5.zip linhes_pkgbuild-7e6e79f55fbfb5e5d1dc3829ccce7e2c4d1b1ed5.tar.gz linhes_pkgbuild-7e6e79f55fbfb5e5d1dc3829ccce7e2c4d1b1ed5.tar.bz2 |
linhes-system: add plexmediascanner.sh
lh_system_backup_job: change plex paths
Diffstat (limited to 'linhes/linhes-system/lh_mtc.cron')
-rw-r--r-- | linhes/linhes-system/lh_mtc.cron | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linhes/linhes-system/lh_mtc.cron b/linhes/linhes-system/lh_mtc.cron index 4ab62eb..b556d60 100644 --- a/linhes/linhes-system/lh_mtc.cron +++ b/linhes/linhes-system/lh_mtc.cron @@ -50,7 +50,7 @@ then if ! grep -q "Finished Backup" $logFile && grep -q "Finished Optimize" $logFile then - MYTHCONFDIR=/usr/share/mythtv unbuffer lh_mtc.py --backup | $log + sudo -u mythtv bash -c "MYTHCONFDIR=/usr/share/mythtv unbuffer lh_mtc.py --backup | $log" if [ $? = 0 ] then echo "" | $log |