From d4de83bf4b364fda04614e572e61644c406ea726 Mon Sep 17 00:00:00 2001 From: niten Date: Mon, 23 Jan 2023 15:53:56 -0800 Subject: [PATCH] Try without PID file --- objectifier-module.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/objectifier-module.nix b/objectifier-module.nix index a5e5b18..10f2a0a 100644 --- a/objectifier-module.nix +++ b/objectifier-module.nix @@ -90,7 +90,6 @@ in { Restart = "on-failure"; RestartSec = "5s"; Type = "simple"; - PIDFile = ''"$RUNTIME_DIRECTORY/objectifier.pid"''; ExecStart = let bindClause = concatStringsSep " " (map (addr: "--bind ${addr}:${toString cfg.port}") @@ -99,7 +98,6 @@ in { "${pkgs.objectifier}/bin/objectifier" bindClause "--workers ${toString cfg.workers}" - ''--pid "$RUNTIME_DIRECTORY/objectifier.pid"'' ]); }; };