Signed-off-by: Shea Levy <shea@shealevy.com>
T4DBPQOFUCCD2GLSIT56KSMA2LU3YXDSCT6M5RAJSPQU4TWZJGPAC
chown hydra ${cfg.baseDir}/data
ln -sf ${hydraConf} ${cfg.baseDir}/data/hydra.conf
chown hydra ${baseDir}/data
ln -sf ${hydraConf} ${baseDir}/data/hydra.conf
${pkgs.shadow}/bin/su hydra -c ${cfg.hydra}/bin/hydra-init
[ "*/5 * * * * root ${checkSpace} &> ${cfg.baseDir}/data/checkspace.log"
"15 5 * * * root ${compressLogs} &> ${cfg.baseDir}/data/compress.log"
[ "*/5 * * * * root ${checkSpace} &> ${baseDir}/data/checkspace.log"
"15 5 * * * root ${compressLogs} &> ${baseDir}/data/compress.log"