summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-08-29 16:49:48 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-08-29 16:49:48 (GMT)
commit280e43e06413774d8d9d523d781aa6ad7804599f (patch)
treeafd0ae369f0cbea0848cb9aadc6af2c09c38c758
parent1e88e460238ec219db6a617e3f79cda3936796ad (diff)
downloadlinhes_pkgbuild-280e43e06413774d8d9d523d781aa6ad7804599f.zip
linhes_pkgbuild-280e43e06413774d8d9d523d781aa6ad7804599f.tar.gz
linhes_pkgbuild-280e43e06413774d8d9d523d781aa6ad7804599f.tar.bz2
runit-scripts-mv: make the log dir for certmaster
-rwxr-xr-xabs/mv-core/runit-scripts-mv/PKGBUILD2
-rwxr-xr-xabs/mv-core/runit-scripts-mv/runitscripts/services/certmaster/run4
2 files changed, 5 insertions, 1 deletions
diff --git a/abs/mv-core/runit-scripts-mv/PKGBUILD b/abs/mv-core/runit-scripts-mv/PKGBUILD
index d4e8dc3..0d248a8 100755
--- a/abs/mv-core/runit-scripts-mv/PKGBUILD
+++ b/abs/mv-core/runit-scripts-mv/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=runit-scripts
pkgver=1.8.0
-pkgrel=301
+pkgrel=302
pkgdesc="collection of startup scripts for runit"
url="http://smarden.org/runit/"
license="BSD"
diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/certmaster/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/certmaster/run
index 0b0acd1..6f95abd 100755
--- a/abs/mv-core/runit-scripts-mv/runitscripts/services/certmaster/run
+++ b/abs/mv-core/runit-scripts-mv/runitscripts/services/certmaster/run
@@ -2,4 +2,8 @@
export TERM=linux
. /etc/rc.conf
. /etc/rc.d/functions
+if [ ! -e /var/log/certmaster ]
+then
+ mkdir -p /var/log/certmaster
+fi
exec /usr/bin/certmaster