prosody service: add restart trigger
This commit is contained in:
parent
988ce5433f
commit
57f3dd5a2f
|
@ -287,6 +287,7 @@ in
|
||||||
after = [ "network-online.target" ];
|
after = [ "network-online.target" ];
|
||||||
wants = [ "network-online.target" ];
|
wants = [ "network-online.target" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
restartTriggers = [ config.environment.etc."prosody/prosody.cfg.lua".source ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
User = "prosody";
|
User = "prosody";
|
||||||
Type = "forking";
|
Type = "forking";
|
||||||
|
|
Loading…
Reference in a new issue