nixos/prosody: fix pidfile path
This commit is contained in:
parent
d260e95cb9
commit
ec1419bad8
@ -439,7 +439,7 @@ in
|
|||||||
|
|
||||||
environment.etc."prosody/prosody.cfg.lua".text = ''
|
environment.etc."prosody/prosody.cfg.lua".text = ''
|
||||||
|
|
||||||
pidfile = "${cfg.dataDir}/prosody.pid"
|
pidfile = "/run/prosody/prosody.pid"
|
||||||
|
|
||||||
log = "*syslog"
|
log = "*syslog"
|
||||||
|
|
||||||
@ -509,7 +509,8 @@ in
|
|||||||
User = cfg.user;
|
User = cfg.user;
|
||||||
Group = cfg.group;
|
Group = cfg.group;
|
||||||
Type = "forking";
|
Type = "forking";
|
||||||
PIDFile = "${cfg.dataDir}/prosody.pid";
|
RuntimeDirectory = [ "prosody" ];
|
||||||
|
PIDFile = "/run/prosody/prosody.pid";
|
||||||
ExecStart = "${cfg.package}/bin/prosodyctl start";
|
ExecStart = "${cfg.package}/bin/prosodyctl start";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user