chance to survive sshd not getting restarted on port 22. Bump version
number to reflect change
Summary: SSH server config for PlanetLab
Name: pl_sshd
Version: 1.0
Summary: SSH server config for PlanetLab
Name: pl_sshd
Version: 1.0
Requires: autofs, openssh-server
Copyright: GPL
URL: http://www.planet-lab.org
Requires: autofs, openssh-server
Copyright: GPL
URL: http://www.planet-lab.org
directory as source for authorized_keys files and points sshd to that
directory.
directory as source for authorized_keys files and points sshd to that
directory.
-$Header: /cvs/pl_sshd/pl_sshd.spec,v 1.4 2003/12/01 22:16:47 sjm-pl_sshd Exp $
+$Header: /cvs/pl_sshd/pl_sshd.spec,v 1.5 2003/12/02 00:22:03 sjm-pl_sshd Exp $
chkconfig --add pl_sshd
if [[ "$RUNLEVEL" != "unknown" ]]; then
chkconfig --add pl_sshd
if [[ "$RUNLEVEL" != "unknown" ]]; then
+ #
+ # starting pl_sshd before restarting sshd gives us a
+ # chance of recovery if stopping sshd aborts the
+ # update process e.g., because we're logged in using
+ # ssh.
+ #
/etc/init.d/autofs restart
/etc/init.d/autofs restart
- /etc/init.d/sshd restart
/etc/init.d/pl_sshd start
/etc/init.d/pl_sshd start
+ /etc/init.d/sshd restart