From 8794f02d2267600b14f2a5586a91de949ecaf533 Mon Sep 17 00:00:00 2001 From: Cengiz Can <123910+cengizIO@users.noreply.github.com> Date: Mon, 13 May 2019 11:49:17 +0300 Subject: [PATCH] fix Exec value in systemd unit Thanks for creating this wonderful tool! By default `make install` installs the binary into `/usr/local/bin` so I think this should be changed accordingly. Cheers --- util/endlessh.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/endlessh.service b/util/endlessh.service index 9bbb31a..b50d6d5 100644 --- a/util/endlessh.service +++ b/util/endlessh.service @@ -6,7 +6,7 @@ Requires=network-online.target Type=simple Restart=always RestartSec=30sec -ExecStart=/opt/endlessh/endlessh +ExecStart=/usr/local/bin/endlessh KillSignal=SIGTERM # Stop trying to restart the service if it restarts too many times in a row