diff --git a/modules/joinmarket-ob-watcher.nix b/modules/joinmarket-ob-watcher.nix index 82499ef..2f4fdc0 100644 --- a/modules/joinmarket-ob-watcher.nix +++ b/modules/joinmarket-ob-watcher.nix @@ -74,7 +74,7 @@ in { serviceConfig = nbLib.defaultHardening // rec { DynamicUser = true; StateDirectory = "joinmarket-ob-watcher"; - StateDirectoryMode = "0770"; + StateDirectoryMode = "770"; WorkingDirectory = cfg.dataDir; # The service creates dir 'logs' in the working dir ExecStart = '' ${nbPkgs.joinmarket}/bin/ob-watcher --datadir=${cfg.dataDir} \