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

-- 
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

Reply via email to