Try without PID file
This commit is contained in:
parent
300f59aa7e
commit
d4de83bf4b
|
@ -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"''
|
||||
]);
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue