Merge pull request #54609 from petabyteboy/feature/prosody-reload

nixos/prosody: add ExecReload
This commit is contained in:
Jörg Thalheim
2019-01-26 04:11:11 +00:00
committed by GitHub

View File

@@ -513,6 +513,7 @@ in
RuntimeDirectory = [ "prosody" ];
PIDFile = "/run/prosody/prosody.pid";
ExecStart = "${cfg.package}/bin/prosodyctl start";
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
};
};