summaryrefslogtreecommitdiffstats
path: root/abs/core/runit
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/runit')
-rw-r--r--abs/core/runit/PKGBUILD6
-rwxr-xr-xabs/core/runit/add_service.sh2
-rwxr-xr-xabs/core/runit/remove_service.sh2
-rwxr-xr-xabs/core/runit/runit.install3
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