diff --git a/debian/changelog b/debian/changelog index d7586c5..a9ebb1a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,8 +4,9 @@ pcsc-lite (1.8.1-1) unstable; urgency=low * debian/copyright: use Machine-readable DEP-5 format * debian/pcscd.init: Fix "init.d status support" (Closes: #644127) * debian/pcscd.init: do not start pcscd if systemd is used + * debian/pcscd.postinst: enable pcscd for systemd is systemd is installed - -- Ludovic Rousseau Fri, 25 Nov 2011 15:40:48 +0100 + -- Ludovic Rousseau Fri, 25 Nov 2011 15:45:10 +0100 pcsc-lite (1.7.4-2) unstable; urgency=low diff --git a/debian/pcscd.postinst b/debian/pcscd.postinst index 470f09d..0f0d190 100644 --- a/debian/pcscd.postinst +++ b/debian/pcscd.postinst @@ -19,8 +19,7 @@ fi # create the pcscd group addgroup --system pcscd --quiet -# set guid pcscd for pcscd -chgrp pcscd /usr/sbin/pcscd -chmod g+s /usr/sbin/pcscd +# enable pcscd for systemd +[ -x /bin/systemctl ] && systemctl enable pcscd.service #DEBHELPER#