mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
nixos/matrix-synapse: reload service with SIGHUP
This is used to load new certificates without restarting the service
This commit is contained in:
parent
4a5f1bb9bc
commit
524e26c69a
@ -695,6 +695,7 @@ in {
|
||||
${ concatMapStringsSep "\n " (x: "--config-path ${x} \\") ([ configFile ] ++ cfg.extraConfigFiles) }
|
||||
--keys-directory ${cfg.dataDir}
|
||||
'';
|
||||
ExecReload = "${pkgs.utillinux}/bin/kill -HUP $MAINPID";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user