1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00

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" ]; RuntimeDirectory = [ "prosody" ];
PIDFile = "/run/prosody/prosody.pid"; PIDFile = "/run/prosody/prosody.pid";
ExecStart = "${cfg.package}/bin/prosodyctl start"; ExecStart = "${cfg.package}/bin/prosodyctl start";
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
}; };
}; };