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:
commit
77694f5065
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue