diff options
author | Britney Fransen <brfransen@gmail.com> | 2011-08-04 23:39:57 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2011-08-04 23:39:57 (GMT) |
commit | 7044188f59aa79cf17d3835cc005da4c17aad9e2 (patch) | |
tree | 6d48184c45db51ecf44079760241efc80a3597ce /abs/core/runit-scripts | |
parent | ceefe4ae64d97bfd1e6c439ab58575d4c237da1f (diff) | |
parent | c883928b0a74db7246bf280d2c6644ccb68f0a81 (diff) | |
download | linhes_pkgbuild-7044188f59aa79cf17d3835cc005da4c17aad9e2.zip linhes_pkgbuild-7044188f59aa79cf17d3835cc005da4c17aad9e2.tar.gz linhes_pkgbuild-7044188f59aa79cf17d3835cc005da4c17aad9e2.tar.bz2 |
Merge branch 'testing' of knoppmyth.net:linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/runit-scripts')
-rwxr-xr-x | abs/core/runit-scripts/PKGBUILD | 2 | ||||
-rwxr-xr-x | abs/core/runit-scripts/runitscripts/services/smartd/run | 11 |
2 files changed, 4 insertions, 9 deletions
diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD index e186f99..828e54c 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=24 +pkgrel=25 pkgdesc="collection of startup scripts for runit" url="http://smarden.org/runit/" license="BSD" diff --git a/abs/core/runit-scripts/runitscripts/services/smartd/run b/abs/core/runit-scripts/runitscripts/services/smartd/run index 15ed769..b8eafb6 100755 --- a/abs/core/runit-scripts/runitscripts/services/smartd/run +++ b/abs/core/runit-scripts/runitscripts/services/smartd/run @@ -3,11 +3,6 @@ . /etc/rc.conf . /etc/rc.d/functions - stat_runit "Starting smartd" - /usr/sbin/smartd -n -c /etc/smartd.conf -q never &>/dev/null - if [ $? -ne 0 ]; then - stat_fail - else - add_daemon smartd - stat_done - fi +stat_runit "Starting smartd" + + exec /usr/sbin/smartd -n -c /etc/smartd.conf -q never &>/dev/null |