summaryrefslogtreecommitdiff
path: root/service.nix
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2025-07-22 17:49:02 +0300
committerKyren223 <Kyren223@proton.me>2025-07-22 17:49:02 +0300
commit4e1d7e48d7e58ae83e0df0b315e2d0d3f8cdbbff (patch)
tree7c2c1e49f107662c5aa1107c8f87a29d7f2a20cb /service.nix
parent4a3adc88c27260cf941dee1f243badd84b7abd7b (diff)
Updated systemd service to always succeed by wrapping eko
Diffstat (limited to 'service.nix')
-rw-r--r--service.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/service.nix b/service.nix
index 4cc39b3..9f6f0b2 100644
--- a/service.nix
+++ b/service.nix
@@ -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";