wok-6.x diff c_icap/stuff/c-icapd @ rev 16681
Create some /var/run/<dir> in /etc/init.d/<daemon> scritps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 18 20:24:07 2014 +0000 (2014-05-18) |
parents | 95e0d6cca290 |
children | 7f188676b59c |
line diff
1.1 --- a/c_icap/stuff/c-icapd Thu Mar 01 07:01:35 2012 +0100 1.2 +++ b/c_icap/stuff/c-icapd Sun May 18 20:24:07 2014 +0000 1.3 @@ -14,6 +14,7 @@ 1.4 OPTIONS="" 1.5 PIDFILE=/var/run/c-icap/c-icap.pid 1.6 1.7 +[ -d /var/run/c-icap ] || mkdir -p /var/run/c-icap 1.8 case "$1" in 1.9 start) 1.10 if active_pidfile $PIDFILE $NAME ; then