openssh: cleanup systemd service files

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-08-17 22:09:18 +02:00
parent ff5a566123
commit 37d901177b
4 changed files with 0 additions and 32 deletions

View File

@ -72,5 +72,4 @@ post_install() {
add_group sshd 74 add_group sshd 74
enable_service sshd.service enable_service sshd.service
# enable_service sshd.socket
} }

View File

@ -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

View File

@ -1,11 +0,0 @@
[Unit]
Description=OpenSSH Server Socket
Conflicts=sshd.service
[Socket]
ListenStream=22
Accept=yes
[Install]
WantedBy=sockets.target

View File

@ -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