[Pkg-systemd-maintainers] systemd support in openssh-server
Michael Biebl
biebl at debian.org
Fri Feb 21 15:16:29 GMT 2014
Hi, me again...
Am 11.02.2014 00:32, schrieb Michael Biebl:
> I noticed that you added systemd .service files in openssh 1:6.5p1-1.
> Thanks a lot for that!
> There are a few issues though that I noticed which I'd like to discuss.
It was pointed out on IRC today, that the SysV/LSB init script has
# Provides: sshd
in its LSB header and there exist other SysV/LSB init scripts which use
that name:
drbd8-utils/init.d/drbd:# Should-Start: sshd multipathd
smokeping/init.d/smokeping:# Should-Start: sshd apache
sshguard/init.d/sshguard:# Should-Start: sshd
vzctl/init.d/vz:# Should-Start: sshd vzeventd
Sine the native .service is named ssh.service, we should add an alias so
the 4 services above get the correct ordering.
For that I'd suggest to use
[Install]
Alias=sshd.service
in your ssh.service file. When you run "systemctl enable" this will
create a symlink /etc/systemd/system/sshd.service pointing to the
original name.
IIRC the dh-systemd machinery should be sophisticated enough to update
the symlinks automatically on upgrades if the [Install] section of the
.service file has changed.
Michael
(Thanks Alam_Squeeze for notifying us about this issue)
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140221/bfcd3bf9/attachment-0002.sig>
More information about the Pkg-systemd-maintainers
mailing list