Subversion Repositories

?revision_form?Rev ?revision_input??revision_submit??revision_endform?

Rev 120 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 120 Rev 124
1
[Unit]
1
[Unit]
2
Description=Secure Shell v2 (SSH2) protocol server
2
Description=Secure Shell v2 (SSH2) protocol server
3
Documentation=man:lshd(8)
3
Documentation=man:lshd(8)
4
After=local-fs.target remote-fs.target network.target syslog.target nss-lookup.target
4
After=local-fs.target remote-fs.target network.target nss-lookup.target
5
5
6
[Service]
6
[Service]
7
Type=simple
7
Type=simple
8
ExecStart=/bin/sh -c "case \"$ENABLE_SFTP\" in \
8
ExecStart=/bin/sh -c "case \"$ENABLE_SFTP\" in \
9
 true|y*|Y*) ;; \
9
 true|y*|Y*) ;; \
10
 *) SFTP_FLAG='';; esac; \
10
 *) SFTP_FLAG='';; esac; \
11
 exec /usr/sbin/lshd --port \"$LSHD_PORT\" $SFTP_FLAG $EXTRA_ARGS"
11
 exec /usr/sbin/lshd --port \"$LSHD_PORT\" $SFTP_FLAG $EXTRA_ARGS"
12
Environment="LSHD_PORT=22" "SFTP_FLAG=--subsystems sftp=/usr/lib/lsh-server/sftp-server"
12
Environment="LSHD_PORT=22" "SFTP_FLAG=--subsystems sftp=/usr/lib/lsh-server/sftp-server"
13
EnvironmentFile=-/etc/default/lsh-server
13
EnvironmentFile=-/etc/default/lsh-server
14
KillSignal=SIGHUP
14
KillSignal=SIGHUP
15
KillMode=process
15
KillMode=process
16
SendSIGKILL=no
16
SendSIGKILL=no
17
SyslogIdentifier=lshd
17
SyslogIdentifier=lshd
18
TimeoutStopSec=1
18
TimeoutStopSec=1
19
19
20
[Install]
20
[Install]
21
WantedBy=multi-user.target
21
WantedBy=multi-user.target