mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 04:25:14 +00:00
murmur: fix /tmp usage
This commit is contained in:
parent
f28bf68bc4
commit
e0de2d7ae6
@ -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 New Issue
Block a user