alpha
Login
or
Join now
lass.pds.lassul.us
/
superconfig
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
1
Pipelines
pad-backup: add retry
author
lassulus
date
3 years ago
(Sep 17, 2023, 11:38 AM CEST)
commit
cdbed0a0
cdbed0a03d61db55568871ed4bc8ab798760024c
parent
96ed0c1f
96ed0c1f31eca3552dd57ce24f604df286b9fd9a
+5
-1
1 changed file
Expand all
Collapse all
Unified
Split
nixos
2configs
codimd.nix
+5
-1
nixos/2configs/codimd.nix
View file
Reviewed
···
40
40
systemd.services.hedgedoc-backup = {
41
41
startAt = "daily";
42
42
serviceConfig = {
43
43
-
ExecStart = ''${pkgs.sqlite}/bin/sqlite3 /var/lib/hedgedoc/db.hedgedoc.sqlite ".backup /var/backup/hedgedoc/backup.sq3"'';
43
43
+
ExecStart = pkgs.writers.writeDash "pad-backup" ''
44
44
+
until ${pkgs.sqlite}/bin/sqlite3 /var/lib/hedgedoc/db.hedgedoc.sqlite ".backup /var/backup/hedgedoc/backup.sq3"; do
45
45
+
sleep 1
46
46
+
done
47
47
+
'';
44
48
Type = "oneshot";
45
49
};
46
50
};