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

View File

@ -22,7 +22,7 @@ PrivateDevices=true
ProtectSystem=full ProtectSystem=full
ProtectHome=true ProtectHome=true
NoNewPrivileges=true NoNewPrivileges=true
ConfigurationDirectory=/etc/endlessh ConfigurationDirectory=endlessh
PrivateUsers=true PrivateUsers=true
ProtectKernelTunables=true ProtectKernelTunables=true
ProtectKernelModules=true ProtectKernelModules=true