forked from mirrors/nixpkgs
* Log sitecopy runs.
svn path=/nixos/trunk/; revision=29299
This commit is contained in:
parent
61072f8995
commit
4fff0d2291
|
@ -8,7 +8,7 @@ let
|
|||
stateDir = "/var/spool/sitecopy";
|
||||
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue