~hloeung/ubuntu-repository-cache/drop-max-spare-threads

Viewing all changes in revision 312.

  • Committer: mergebot at canonical
  • Author(s): "Haw Loeung"
  • Date: 2021-02-22 00:57:56 UTC
  • mfrom: (311.1.1 ubuntu-repository-cache)
  • Revision ID: mergebot@juju-139df4-prod-is-toolbox-0.canonical.com-20210222005756-krnras7xqwiabmhp
Don't call apache.start() in service.unpause()

service.unpause() calls render_configs() which calls apache.render_configs(). Within that, it will call apache.start() so it is not needed here. It also handles config changes requiring graceful reload better.

Reviewed-on: https://code.launchpad.net/~hloeung/ubuntu-repository-cache/only-reload-apache2-when-needed-4/+merge/398419
Reviewed-by: Paul Collins <paul.collins@canonical.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: