summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/runit-scripts-mv/runitscripts/services/certmaster
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 /abs/mv-core/runit-scripts-mv/runitscripts/services/certmaster
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
Diffstat (limited to 'abs/mv-core/runit-scripts-mv/runitscripts/services/certmaster')
-rwxr-xr-xabs/mv-core/runit-scripts-mv/runitscripts/services/certmaster/run4
1 files changed, 4 insertions, 0 deletions
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