3
0
Fork 0
forked from mirrors/nixpkgs

* Log sitecopy runs.

svn path=/nixos/trunk/; revision=29299
This commit is contained in:
Eelco Dolstra 2011-09-15 15:33:34 +00:00
parent 61072f8995
commit 4fff0d2291

View file

@ -8,7 +8,7 @@ let
stateDir = "/var/spool/sitecopy"; stateDir = "/var/spool/sitecopy";
sitecopyCron = backup : '' sitecopyCron = backup : ''
${if backup ? period then backup.period else config.services.sitecopy.period} root ${sitecopy}/bin/sitecopy --storepath=${stateDir} --rcfile=${stateDir}/${backup.name}.conf --update ${backup.name} ${if backup ? period then backup.period else config.services.sitecopy.period} root ${sitecopy}/bin/sitecopy --storepath=${stateDir} --rcfile=${stateDir}/${backup.name}.conf --update ${backup.name} >> /var/log/sitecopy.log 2>&1
''; '';
in in