about summary refs log tree commit diff
path: root/nixos/modules/services/networking
diff options
context:
space:
mode:
authorMatthew Justin Bauer <mjbauer95@gmail.com>2018-04-18 22:12:29 -0500
committerGitHub <noreply@github.com>2018-04-18 22:12:29 -0500
commit8fb93be481387ef705b06b3b07ab70c627cd91a9 (patch)
tree2158012e82581d383e990a919c280af1edeb9352 /nixos/modules/services/networking
parent117b79d2bf4cbfa8534dc85d271be813f051b13c (diff)
parente0de2d7ae60ee491a6bdf1389aaae49c64dea48e (diff)
downloadnixlib-8fb93be481387ef705b06b3b07ab70c627cd91a9.tar
nixlib-8fb93be481387ef705b06b3b07ab70c627cd91a9.tar.gz
nixlib-8fb93be481387ef705b06b3b07ab70c627cd91a9.tar.bz2
nixlib-8fb93be481387ef705b06b3b07ab70c627cd91a9.tar.lz
nixlib-8fb93be481387ef705b06b3b07ab70c627cd91a9.tar.xz
nixlib-8fb93be481387ef705b06b3b07ab70c627cd91a9.tar.zst
nixlib-8fb93be481387ef705b06b3b07ab70c627cd91a9.zip
Merge pull request #38705 from tokudan/murmur_tmpfix
murmur: fix /tmp usage
Diffstat (limited to 'nixos/modules/services/networking')
-rw-r--r--nixos/modules/services/networking/murmur.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/murmur.nix b/nixos/modules/services/networking/murmur.nix
index 13d7c3254f9d..873d62dbf341 100644
--- a/nixos/modules/services/networking/murmur.nix
+++ b/nixos/modules/services/networking/murmur.nix
@@ -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";