BackupPC-users

Re: [BackupPC-users] /var/run/BackupPC Alpha3

2014-10-13 18:43:35
Subject: Re: [BackupPC-users] /var/run/BackupPC Alpha3
From: Adam Goryachev <mailinglists AT websitemanagers.com DOT au>
To: backuppc-users AT lists.sourceforge DOT net
Date: Tue, 14 Oct 2014 09:41:37 +1100
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 AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/