From 964a860634f74cdb3ac72891d260ccfed315feaf Mon Sep 17 00:00:00 2001 From: Cengiz Can <123910+cengizIO@users.noreply.github.com> Date: Mon, 13 May 2019 12:02:53 +0300 Subject: [PATCH] fix ConfigurationDirectory in systemd unit `ConfigurationDirectory=endlessh` should be enough. Previous assignment throws a warning with systemd 237 ``` May 13 08:57:18 kernelwtf systemd[1]: Started Endlessh SSH Tarpit. May 13 08:58:20 kernelwtf systemd[1]: /etc/systemd/system/endlessh.service:25: ConfigurationDirectory= path is not valid, ignoring assignment: /etc/endlessh ``` --- util/endlessh.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/endlessh.service b/util/endlessh.service index b50d6d5..2c04ee7 100644 --- a/util/endlessh.service +++ b/util/endlessh.service @@ -22,7 +22,7 @@ PrivateDevices=true ProtectSystem=full ProtectHome=true NoNewPrivileges=true -ConfigurationDirectory=/etc/endlessh +ConfigurationDirectory=endlessh PrivateUsers=true ProtectKernelTunables=true ProtectKernelModules=true