]> git.pld-linux.org Git - packages/openssh.git/blobdiff - opensshd.init
- copy config.sub from automake
[packages/openssh.git] / opensshd.init
index d4ba59676508dbaa03a14b1eae187b29687b57c9..8fba73144f9688b059732a97d5567623c1bdca79 100644 (file)
@@ -4,8 +4,8 @@
 #
 # chkconfig:   345 55 45
 #
-# description: sshd (secure shell daemon) is a server part of the ssh suite.
-#              Ssh can be used for remote login, remote file copying, TCP port
+# description: sshd (secure shell daemon) is a server part of the ssh suite. \
+#              Ssh can be used for remote login, remote file copying, TCP port \
 #              forwarding etc. Ssh offers strong encryption and authentication.
 
 
@@ -15,6 +15,8 @@
 # Get network config
 . /etc/sysconfig/network
 
+SERVICE_LIMITS="-u unlimited -Sc 0"
+
 # Get service config
 [ -f /etc/sysconfig/sshd ] && . /etc/sysconfig/sshd
 
@@ -55,7 +57,6 @@ case "$1" in
        # Check if the service is already running?
        if [ ! -f /var/lock/subsys/sshd ]; then
                msg_starting OpenSSH
-               ULIMIT_C="-S -c 0"
                daemon /usr/sbin/sshd 
                RETVAL=$?
                [ $RETVAL -eq 0 ] && touch /var/lock/subsys/sshd                
This page took 0.026535 seconds and 4 git commands to generate.