On 13/10/14 23:26, rpace wrote: > Thanks for the link but the edit of rc.local didnt work for me. > > i put this in the init.d script of BackupPC : > > if [ ! -d /var/run/BackupPC ]; then > mkdir /var/run/BackupPC/ > chown backuppc /var/run/BackupPC/ > fi > > and it's ok. >
Probably because rc.local runs AFTER backuppc tries to start.... You would need to ensure backuppc start script runs after the directory is created, easiest solution, just add it to the backuppc start script like you did. Regards, Adam -- Adam Goryachev Website Managers www.websitemanagers.com.au ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://p.sf.net/sfu/Zoho _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/