diff options
author | jeschli <jeschli@gmail.com> | 2019-08-06 15:51:38 +0200 |
---|---|---|
committer | jeschli <jeschli@gmail.com> | 2019-08-06 15:51:38 +0200 |
commit | 01a431857a42a6a3fcbd6eff414071ca8ef15e74 (patch) | |
tree | 0eb84976b1850959233d758a7a27249498797b26 /krebs/3modules/syncthing.nix | |
parent | cd4f0290ed091cdae9b5d8526f4387b54e2c42dc (diff) | |
parent | 2885fbd942163d733586cd966c76ccf9159ae208 (diff) |
Merge branch 'master' of prism.r:stockholm
Diffstat (limited to 'krebs/3modules/syncthing.nix')
-rw-r--r-- | krebs/3modules/syncthing.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/krebs/3modules/syncthing.nix b/krebs/3modules/syncthing.nix index 939c8fddf..799ed7eda 100644 --- a/krebs/3modules/syncthing.nix +++ b/krebs/3modules/syncthing.nix @@ -176,6 +176,7 @@ in config = mkIf kcfg.enable { systemd.services.syncthing = mkIf (kcfg.cert != null || kcfg.key != null) { + serviceConfig.PermissionsStartOnly = mkDefault true; preStart = '' ${optionalString (kcfg.cert != null) '' cp ${toString kcfg.cert} ${scfg.configDir}/cert.pem |