Updated systemd service to always succeed by wrapping eko

This commit is contained in:
2025-07-22 17:49:02 +03:00
parent 4a3adc88c2
commit 4e1d7e48d7

View File

@@ -75,7 +75,7 @@ in
Restart = "on-failure";
RestartSec = "10s";
ExecStart = "${cfg.package}/bin/eko-server";
ExecStart = "/bin/sh -c '${cfg.package}/bin/eko-server'";
ExecReload = "${pkgs.coreutils}/bin/kill -SIGHUP $MAINPID";
ConfigurationDirectory = "eko";