How to automatically create /var/run/wt with right permissions?
A common problem that emerges when configuring Wt is Apache's fatal error: cannot create run directory /var/run/wt.
From many posts in the forum, we know that to resolve this is enough create the directory and set the right permissions. On Ubuntu 12.10:
$> mkdir /var/run/wt
$> chown www-data: /var/run/wt
That solves our problem... until the next reboot.
Is there an automatic solution for this? I was thinking in putting these command on crontab, but that doesn't seem the right way to do the work.
Thanks in advance.