summaryrefslogtreecommitdiffstats
path: root/krebs/2configs
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2019-07-11 18:11:22 +0200
committermakefu <github@syntax-fehler.de>2019-07-11 18:11:22 +0200
commit4dad3683f9acfa243b195e498af422b25bb9056e (patch)
tree93918ac7140c7c1a2829547f86f70951176a6810 /krebs/2configs
parentbfff5c1a92af27cf01d52c24bb7e15f8f559b499 (diff)
shack/muellshack: make storage.json writeable
Diffstat (limited to 'krebs/2configs')
-rw-r--r--krebs/2configs/shack/muellshack.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/krebs/2configs/shack/muellshack.nix b/krebs/2configs/shack/muellshack.nix
index 3a8d1cd88..928972140 100644
--- a/krebs/2configs/shack/muellshack.nix
+++ b/krebs/2configs/shack/muellshack.nix
@@ -32,6 +32,7 @@ in {
ExecStartPre = pkgs.writeDash "call-muell-pre" ''
cp -vf ${pkg}/share/static_muelldata.json ${home}
cp -vn ${pkg}/share/storage.json ${home}
+ chmod 700 ${home}/storage.json
'';
WorkingDirectory = home;
ExecStart = "${pkg}/bin/muellshack";