forked from extern/endlessh
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:
parent
8794f02d22
commit
964a860634
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user