diff options
author | James Meyer <james.meyer@operamail.com> | 2010-11-05 00:07:10 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-11-05 00:07:10 (GMT) |
commit | 5b97a91f0f9afa1703812ced446ed3d9aaf4f79c (patch) | |
tree | f168fb697a1d3962ac8ca12176c61704ba2cf7b8 /abs | |
parent | 42fd9c0e95c0440580cc2c80a48f87eb2df56669 (diff) | |
download | linhes_pkgbuild-5b97a91f0f9afa1703812ced446ed3d9aaf4f79c.zip linhes_pkgbuild-5b97a91f0f9afa1703812ced446ed3d9aaf4f79c.tar.gz linhes_pkgbuild-5b97a91f0f9afa1703812ced446ed3d9aaf4f79c.tar.bz2 |
runit: update to 2.2 This change marks the migration of services from /var/service to /service
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core/runit/PKGBUILD | 6 | ||||
-rwxr-xr-x | abs/core/runit/add_service.sh | 2 | ||||
-rwxr-xr-x | abs/core/runit/remove_service.sh | 2 | ||||
-rwxr-xr-x | abs/core/runit/runit.install | 3 |
4 files changed, 6 insertions, 7 deletions
diff --git a/abs/core/runit/PKGBUILD b/abs/core/runit/PKGBUILD index 1dd2838..a3b202e 100644 --- a/abs/core/runit/PKGBUILD +++ b/abs/core/runit/PKGBUILD @@ -1,6 +1,6 @@ pkgname=runit pkgver=2.1.1 -pkgrel=1 +pkgrel=3 pkgdesc="A replacement for sysvinit, and other init schemes, with service supervision" url="http://smarden.org/runit/" license=('BSD') @@ -64,8 +64,8 @@ package() { } md5sums=('8fa53ea8f71d88da9503f62793336bc3' - '5828ac37537d60ded00252dc02d462c6' - '984dbe096b0db26ad9f3f5b51addd9c9' + '8ee2bffb82e18ab6a10f01dc2cada38a' + 'e7845f7609459542e6c5fc024a9ef922' 'e347ea8cf2981f2cd4105111ea1ce1d4' '263198ec006b87891ea0f3ab1d103086' '3ec5f3013dcbd60b6b957d17ba220585' diff --git a/abs/core/runit/add_service.sh b/abs/core/runit/add_service.sh index 237af13..791639a 100755 --- a/abs/core/runit/add_service.sh +++ b/abs/core/runit/add_service.sh @@ -1,5 +1,5 @@ #!/bin/bash -SERVICE_DIR=/var/service +SERVICE_DIR=/service SCRIPT_DIR=/etc/sv if [ -d $SCRIPT_DIR/$1 ] then diff --git a/abs/core/runit/remove_service.sh b/abs/core/runit/remove_service.sh index 16c7ecf..349f5bb 100755 --- a/abs/core/runit/remove_service.sh +++ b/abs/core/runit/remove_service.sh @@ -1,5 +1,5 @@ #!/bin/bash -SERVICE_DIR=/var/service +SERVICE_DIR=/service SCRIPT_DIR=/etc/sv if [ -e $SERVICE_DIR/$1 ] then diff --git a/abs/core/runit/runit.install b/abs/core/runit/runit.install index 1728bc6..392d7be 100755 --- a/abs/core/runit/runit.install +++ b/abs/core/runit/runit.install @@ -27,7 +27,6 @@ fi } post_install () { - mkdir /var/service [ -e /sbin/halt ] || ln -s /sbin/halt.script /sbin/halt [ -e /sbin/reboot ] || ln -s /sbin/reboot.script /sbin/reboot [ -e /sbin/poweroff ] || ln -s /sbin/poweroff.script /sbin/poweroff @@ -40,7 +39,7 @@ post_install () { # arg 2: the old package version post_upgrade(){ - /bin/true + post_install } op=$1 |