[Letsencrypt-devel] Bug#895237: certbot: Stop/start Apache using systemctl instead of apachectl

Jan Heitkötter jan at heitkoetter.net
Sun Apr 8 16:51:13 UTC 2018


Package: certbot
Version: 0.21.1-1~bpo9+1
Severity: normal

Dear Maintainer,

on certificate renewal certbot will stop Apache and start it afterwards. 
The relevant commands are pre_hook and post_hook in 
/etc/letsencrypt/renewal/CERTNAME.conf.

Default behaviour is do stop/start Apache using apachectl which fails in 
installations running systemd. Apache will stop, but not start again.

Fix: use systemctl to start/stop Apache.

Regards

Jan


-- System Information:
Debian Release: 9.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-6-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages certbot depends on:
ii  python3          3.5.3-1
ii  python3-certbot  0.21.1-1~bpo9+1

certbot recommends no packages.

Versions of packages certbot suggests:
pn  python-certbot-doc      <none>
ii  python3-certbot-apache  0.21.1-1~bpo9+1
pn  python3-certbot-nginx   <none>

-- no debconf information



More information about the Letsencrypt-devel mailing list