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
commit 77694f5065
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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";
};
};