Bug 245674 - security/py-certbot: allow more options for restarting services after certificate renewals
Summary: security/py-certbot: allow more options for restarting services after certifi...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Danilo G. Baio
URL: https://reviews.freebsd.org/D25391
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-16 20:01 UTC by Dmitry Marakasov
Modified: 2020-06-22 03:20 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (python)
koobs: merge-quarterly?


Attachments
Patch (1.95 KB, patch)
2020-04-16 20:01 UTC, Dmitry Marakasov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Marakasov freebsd_committer 2020-04-16 20:01:24 UTC
Created attachment 213468 [details]
Patch

In addition to stop service → renew cert → start service pattern, support restarting and reloading a service after certificate renewals, which is more common and useful pattern which implies less/no downtime.
Comment 1 Max Khon freebsd_committer 2020-05-25 04:25:36 UTC
There should also be support for deploy hook (see also #245954)
Comment 2 Danilo G. Baio freebsd_committer 2020-06-21 18:04:15 UTC
Please see review D25391, I tried to gather all scenarios in the periodic script.