diff options
Diffstat (limited to 'abs/core/runit-scripts')
-rwxr-xr-x | abs/core/runit-scripts/PKGBUILD | 3 | ||||
-rw-r--r-- | abs/core/runit-scripts/__changelog | 1 | ||||
-rwxr-xr-x | abs/core/runit-scripts/runit.install | 8 | ||||
-rwxr-xr-x | abs/core/runit-scripts/runitscripts/services/mythbackend/run | 2 |
4 files changed, 12 insertions, 2 deletions
diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD index c625da4..fd205aa 100755 --- a/abs/core/runit-scripts/PKGBUILD +++ b/abs/core/runit-scripts/PKGBUILD @@ -1,6 +1,6 @@ pkgname=runit-scripts pkgver=2.1.1 -pkgrel=60 +pkgrel=61 pkgdesc="collection of startup scripts for runit" url="http://smarden.org/runit/" license="BSD" @@ -27,5 +27,6 @@ build() { install -m0755 reboot-runit halt-runit logger $startdir/pkg/sbin rsync -a --exclude=.svn services/* $startdir/pkg/etc/sv chmod -R 755 $startdir/pkg/etc/sv + chown -R root:root $startdir/pkg/etc/sv } md5sums=('c79246677d5ffe687bcf6df1b9c2abc2') diff --git a/abs/core/runit-scripts/__changelog b/abs/core/runit-scripts/__changelog new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/abs/core/runit-scripts/__changelog @@ -0,0 +1 @@ + diff --git a/abs/core/runit-scripts/runit.install b/abs/core/runit-scripts/runit.install index 213d10f..d77c9aa 100755 --- a/abs/core/runit-scripts/runit.install +++ b/abs/core/runit-scripts/runit.install @@ -57,6 +57,14 @@ post_upgrade(){ } +pre_upgrade(){ + if [ $(vercmp $2 2.1.1-60 ) -lt 0 ] + then + echo "Updating file permissions for /etc/sv to 755" + chmod -R 755 /etc/sv + fi +} + op=$1 shift diff --git a/abs/core/runit-scripts/runitscripts/services/mythbackend/run b/abs/core/runit-scripts/runitscripts/services/mythbackend/run index 96d21ee..4ff0e9f 100755 --- a/abs/core/runit-scripts/runitscripts/services/mythbackend/run +++ b/abs/core/runit-scripts/runitscripts/services/mythbackend/run @@ -40,5 +40,5 @@ fi # sleep 10 # # else - exec su mythtv -c "/usr/bin/mythbackend -q --logpath /var/log/mythtv/" + exec su mythtv -c "/usr/bin/mythbackend -q --syslog local6" # fi |