/trunk/debian/changelog |
---|
1,3 → 1,10 |
lsh-utils (2.1-3) unstable; urgency=low |
* Add systemd unit file, which should behave similarly to the init |
script. |
-- Magnus Holmgren <holmgren@debian.org> Sun, 31 Aug 2014 20:14:18 +0200 |
lsh-utils (2.1-2) unstable; urgency=low |
* new-readline-completion-function-typedef.patch: switch to new-style |
/trunk/debian/control |
---|
4,7 → 4,7 |
Maintainer: Magnus Holmgren <holmgren@debian.org> |
Uploaders: Stefan Pfetzing <dreamind@dreamind.de> |
Standards-Version: 3.9.5 |
Build-Depends: dpkg-dev (>= 1.15.7), debhelper (>= 7), dh-autoreconf, automake, |
Build-Depends: dpkg-dev (>= 1.15.7), debhelper (>= 7), dh-autoreconf, dh-systemd (>= 1.5), automake, |
libgmp-dev, zlib1g-dev | libz-dev, liboop-dev, libxau-dev, nettle-dev (>= 2.2~), nettle-bin, |
texinfo (>= 4.2), guile-1.6 | scsh-0.6, heimdal-dev, libwrap0-dev | libwrap-dev, |
libpam0g-dev | libpam-dev, libreadline-dev, m4 |
/trunk/debian/lsh-server.postinst |
---|
105,6 → 105,8 |
# You can change the lsh-server configuration either by editing |
# this file, or by running dpkg-reconfigure lsh-server. |
# |
# If systemd is used, this file is read as an environment file and can |
# only contain environment variable assignments. |
EOF |
echo "LSHD_PORT=\"$LSHD_PORT\"" >>"$LSHD_DEFAULTS" |
/trunk/debian/lsh-server.service |
---|
0,0 → 1,21 |
[Unit] |
Description=Secure Shell v2 (SSH2) protocol server |
Documentation=man:lshd(8) |
After=local-fs.target remote-fs.target network.target syslog.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 |
/trunk/debian/rules |
---|
99,7 → 99,9 |
dh_installdocs -a -A README |
dh_installexamples -a |
dh_installman -a |
dh_systemd_enable -a |
dh_installinit -a |
dh_systemd_start -a |
dh_installdebconf -a |
dh_strip -a |
dh_compress -a |