]> git.pld-linux.org Git - packages/openssh.git/blame - opensshd.upstart
- wait until /dev/random is initialized
[packages/openssh.git] / opensshd.upstart
CommitLineData
1ab91246 1
859d163f 2start on pld.network-started and started SERVICE=syslog and started random
1ab91246
JK
3stop on pld.shutdown-started
4
5respawn
6
7console output
8
9script
10 . /etc/rc.d/init.d/functions
11 . /etc/sysconfig/network
12
13 if [ ! -s /etc/ssh/ssh_host_key ] ; then
14 /etc/rc.d/init.d/sshd init
15 fi
16
17 if is_yes "$IPV4_NETWORKING" && is_no "$IPV6_NETWORKING"; then
18 OPTIONS="$OPTIONS -4"
19 fi
20 if is_yes "$IPV6_NETWORKING" && is_no "$IPV4_NETWORKING"; then
21 OPTIONS="$OPTIONS -6"
22 fi
23
713f1330 24 exec /usr/sbin/sshd -D $OPTIONS
1ab91246 25end script
b980459d
JK
26
27# vi: ft=upstart
This page took 0.033741 seconds and 4 git commands to generate.