Re: [BackupPC-users] BackupPC won't start, no output when command executed
2014-11-30 19:13:47
On my centos 7 system, I added the following function to my /etc/init.d/backuppc script:
# ...
checkTempFs() { if `test -d /var/run/BackupPC`; then echo "BackupPC tempfs exisits" else mkdir -p /var/run/BackupPC chown backuppc:backuppc /var/run/BackupPC echo "BackupPC tempfs created" fi }
# ...
Then I added the "checkTempFs" function to the top of the "start" function in the same script:
# ...
start() { # Make sure /var/run/BackupPC tempfs exisits checkTempFs
# ...
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________
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/
|
|
|