summaryrefslogtreecommitdiffstats
path: root/krebs/3modules
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-01-24 15:54:05 +0100
committerlassulus <lassulus@lassul.us>2021-01-24 15:54:05 +0100
commitf4206a60810014cb23ca6eb882398a4739b7b780 (patch)
tree420cae21fdb31a06ccde87a2ce138b1dbef2c525 /krebs/3modules
parent550b502628a6e9567fb210c5dba38e9468481efb (diff)
sync-containers: add noop to plain container scripts
Diffstat (limited to 'krebs/3modules')
-rw-r--r--krebs/3modules/sync-containers.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/krebs/3modules/sync-containers.nix b/krebs/3modules/sync-containers.nix
index 81316fb0d..7c7db4c3d 100644
--- a/krebs/3modules/sync-containers.nix
+++ b/krebs/3modules/sync-containers.nix
@@ -8,6 +8,7 @@ with import <stockholm/lib>;
};
start = cname: {
plain = ''
+ :
'';
ecryptfs = ''
if ! mount | grep -q '${cfg.dataLocation}/${cname}/ecryptfs on /var/lib/containers/${cname}/var/state type ecryptfs'; then
@@ -28,6 +29,7 @@ with import <stockholm/lib>;
};
stop = cname: {
plain = ''
+ :
'';
ecryptfs = ''
${pkgs.ecrypt}/bin/ecrypt unmount ${cfg.dataLocation}/${cname}/ecryptfs /var/lib/containers/${cname}/var/state