Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
[Unit]Description=Secure Shell v2 (SSH2) protocol serverDocumentation=man:lshd(8)After=local-fs.target remote-fs.target network.target syslog.target nss-lookup.target[Service]Type=simpleExecStart=/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-serverKillSignal=SIGHUPKillMode=processSendSIGKILL=noSyslogIdentifier=lshdTimeoutStopSec=1[Install]WantedBy=multi-user.target