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
This commit is contained in:
Cengiz Can 2019-05-13 11:49:17 +03:00 committed by GitHub
parent edf414caf6
commit 8794f02d22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ Requires=network-online.target
Type=simple Type=simple
Restart=always Restart=always
RestartSec=30sec RestartSec=30sec
ExecStart=/opt/endlessh/endlessh ExecStart=/usr/local/bin/endlessh
KillSignal=SIGTERM KillSignal=SIGTERM
# Stop trying to restart the service if it restarts too many times in a row # Stop trying to restart the service if it restarts too many times in a row