kurti wrote: > apache2's initscript has code to handle this: > > # /var/run and /var/lock could be on a tmpfs > [ ! -d /var/run/apache2 ] && mkdir /var/run/apache2 > [ ! -d /var/lock/apache2 ] && mkdir /var/lock/apache2 > # Make sure /var/lock/apache2 has the correct permissions > chown www-data /var/lock/apache2 >
Yeah, I added this to the top of my /etc/init.d/smokeping: if test ! -d /var/run/smokeping; then mkdir -p /var/run/smokeping fi chown -R smokeping.root /var/run/smokeping Regards, Blair -- Blair Zajac, Ph.D. <[EMAIL PROTECTED]> Subversion training, consulting and support http://www.orcaware.com/svn/ -- After reboot, /etc/init.d/smokeping should create /var/run/smokeping https://launchpad.net/bugs/57735 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
