mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-26 23:20:18 +02:00
Merge pull request #38705 from tokudan/murmur_tmpfix
murmur: fix /tmp usage
This commit is contained in:
commit
8fb93be481
|
@ -80,7 +80,7 @@ in
|
||||||
|
|
||||||
pidfile = mkOption {
|
pidfile = mkOption {
|
||||||
type = types.path;
|
type = types.path;
|
||||||
default = "/tmp/murmurd.pid";
|
default = "/run/murmur/murmurd.pid";
|
||||||
description = "Path to PID file for Murmur daemon.";
|
description = "Path to PID file for Murmur daemon.";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -252,6 +252,7 @@ in
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "forking";
|
Type = "forking";
|
||||||
|
RuntimeDirectory = "murmur";
|
||||||
PIDFile = cfg.pidfile;
|
PIDFile = cfg.pidfile;
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
User = "murmur";
|
User = "murmur";
|
||||||
|
|
Loading…
Reference in a new issue