mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 23:17:50 +00:00
openssh: cleanup systemd service files
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
ff5a566123
commit
37d901177b
@ -72,5 +72,4 @@ post_install() {
|
||||
add_group sshd 74
|
||||
|
||||
enable_service sshd.service
|
||||
# enable_service sshd.socket
|
||||
}
|
||||
|
@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=OpenSSH Server Key Generation
|
||||
ConditionPathExists=|!/storage/.cache/ssh/ssh_host_key
|
||||
ConditionPathExists=|!/storage/.cache/ssh/ssh_host_rsa_key
|
||||
ConditionPathExists=|!/storage/.cache/ssh/ssh_host_dsa_key
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/sshd-keygen
|
||||
Type=oneshot
|
||||
|
@ -1,11 +0,0 @@
|
||||
[Unit]
|
||||
Description=OpenSSH Server Socket
|
||||
Conflicts=sshd.service
|
||||
|
||||
[Socket]
|
||||
ListenStream=22
|
||||
Accept=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
||||
|
@ -1,10 +0,0 @@
|
||||
[Unit]
|
||||
Description=OpenSSH per-connection server daemon
|
||||
Wants=sshd-keygen.service
|
||||
After=sshd-keygen.service
|
||||
|
||||
[Service]
|
||||
# EnvironmentFile=-/etc/sysconfig/sshd
|
||||
ExecStart=-/usr/sbin/sshd
|
||||
StandardInput=socket
|
||||
|
Loading…
x
Reference in New Issue
Block a user