Try without PID file

This commit is contained in:
niten 2023-01-23 15:53:56 -08:00
parent 300f59aa7e
commit d4de83bf4b
1 changed files with 0 additions and 2 deletions

View File

@ -90,7 +90,6 @@ in {
Restart = "on-failure"; Restart = "on-failure";
RestartSec = "5s"; RestartSec = "5s";
Type = "simple"; Type = "simple";
PIDFile = ''"$RUNTIME_DIRECTORY/objectifier.pid"'';
ExecStart = let ExecStart = let
bindClause = concatStringsSep " " bindClause = concatStringsSep " "
(map (addr: "--bind ${addr}:${toString cfg.port}") (map (addr: "--bind ${addr}:${toString cfg.port}")
@ -99,7 +98,6 @@ in {
"${pkgs.objectifier}/bin/objectifier" "${pkgs.objectifier}/bin/objectifier"
bindClause bindClause
"--workers ${toString cfg.workers}" "--workers ${toString cfg.workers}"
''--pid "$RUNTIME_DIRECTORY/objectifier.pid"''
]); ]);
}; };
}; };