mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
openssh: cleanup systemd service files
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user