mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
Merge pull request #38705 from tokudan/murmur_tmpfix
murmur: fix /tmp usage
This commit is contained in:
commit
8fb93be481
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue