Merge pull request #38705 from tokudan/murmur_tmpfix

murmur: fix /tmp usage
This commit is contained in:
Matthew Justin Bauer 2018-04-18 22:12:29 -05:00 committed by GitHub
commit 8fb93be481
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,7 +80,7 @@ in
pidfile = mkOption {
type = types.path;
default = "/tmp/murmurd.pid";
default = "/run/murmur/murmurd.pid";
description = "Path to PID file for Murmur daemon.";
};
@ -252,6 +252,7 @@ in
serviceConfig = {
Type = "forking";
RuntimeDirectory = "murmur";
PIDFile = cfg.pidfile;
Restart = "always";
User = "murmur";