This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

pad-backup: add retry

+5 -1
+5 -1
nixos/2configs/codimd.nix
··· 40 40 systemd.services.hedgedoc-backup = { 41 41 startAt = "daily"; 42 42 serviceConfig = { 43 - ExecStart = ''${pkgs.sqlite}/bin/sqlite3 /var/lib/hedgedoc/db.hedgedoc.sqlite ".backup /var/backup/hedgedoc/backup.sq3"''; 43 + ExecStart = pkgs.writers.writeDash "pad-backup" '' 44 + until ${pkgs.sqlite}/bin/sqlite3 /var/lib/hedgedoc/db.hedgedoc.sqlite ".backup /var/backup/hedgedoc/backup.sq3"; do 45 + sleep 1 46 + done 47 + ''; 44 48 Type = "oneshot"; 45 49 }; 46 50 };