Subversion Repositories

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

Rev 120 | Blame | Compare with Previous | Last modification | View Log | RSS feed

[Unit]
Description=Secure Shell v2 (SSH2) protocol server
Documentation=man:lshd(8)
After=local-fs.target remote-fs.target network.target nss-lookup.target

[Service]
Type=simple
ExecStart=/bin/sh -c "case \"$ENABLE_SFTP\" in \
 true|y*|Y*) ;; \
 *) SFTP_FLAG='';; esac; \
 exec /usr/sbin/lshd --port \"$LSHD_PORT\" $SFTP_FLAG $EXTRA_ARGS"
Environment="LSHD_PORT=22" "SFTP_FLAG=--subsystems sftp=/usr/lib/lsh-server/sftp-server"
EnvironmentFile=-/etc/default/lsh-server
KillSignal=SIGHUP
KillMode=process
SendSIGKILL=no
SyslogIdentifier=lshd
TimeoutStopSec=1

[Install]
WantedBy=multi-user.target