Moodle-dl fix path

This commit is contained in:
Johannes Jöns 2023-11-03 15:21:17 +01:00
parent 51a80b64bd
commit 8dbc768181

View file

@ -13,7 +13,7 @@
systemd.services."moodle-dl" = {
script = ''
${lib.getExe pkgs.moodle-dl} --path /var/moodle-dl
${lib.getExe pkgs.git} -C /var/moodle-dl add *
${lib.getExe pkgs.git} -C /var/moodle-dl add .
${lib.getExe pkgs.git} -C /var/moodle-dl commit -m "moodle-dl updated on `$(${pkgs.coreutils}/bin/date)`"
'';
path = [pkgs.openssh];