diff options
author | James Meyer <james.meyer@operamail.com> | 2014-02-16 23:56:35 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2014-02-19 19:03:04 (GMT) |
commit | 374948afc489b11508c1e9109de0e1da54df4983 (patch) | |
tree | c472e0fc17175bef573b7fc1f9477a079ffbfa2b /abs/core/openssh/sshd.service | |
parent | 10365dc137276fa2793d41606cb0d7047506d3ad (diff) | |
download | linhes_pkgbuild-374948afc489b11508c1e9109de0e1da54df4983.zip linhes_pkgbuild-374948afc489b11508c1e9109de0e1da54df4983.tar.gz linhes_pkgbuild-374948afc489b11508c1e9109de0e1da54df4983.tar.bz2 |
openssh: 6.4
update binary path to /usr/bin
refs #961
Diffstat (limited to 'abs/core/openssh/sshd.service')
-rw-r--r-- | abs/core/openssh/sshd.service | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/abs/core/openssh/sshd.service b/abs/core/openssh/sshd.service index 7c8f883..55ed953 100644 --- a/abs/core/openssh/sshd.service +++ b/abs/core/openssh/sshd.service @@ -1,19 +1,17 @@ [Unit] Description=OpenSSH Daemon +Wants=sshdgenkeys.service After=sshdgenkeys.service +After=network.target [Service] -ExecStart=/usr/sbin/sshd -D +ExecStart=/usr/bin/sshd -D ExecReload=/bin/kill -HUP $MAINPID KillMode=process Restart=always [Install] WantedBy=multi-user.target -Also=sshdgenkeys.service -# Note that this is the service file for running a single SSH server for all -# incoming connections, suitable only for systems with a large amount of SSH -# traffic. In almost all other cases it is a better idea to use sshd.socket + -# sshd@.service (i.e. the on-demand spawning version for one instance per -# connection). +# This service file runs an SSH daemon that forks for each incoming connection. +# If you prefer to spawn on-demand daemons, use sshd.socket and sshd@.service. |