mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
apache: Only regenerate snake oil cert when needed
Closes #1230. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
b057a57dec
commit
7b326870da
3 files changed
+25
-6
No files matched your search
@@ -30,4 +30,5 @@ managed_packages = ['apache2', 'libapache2-mod-gnutls', 'libapache2-mod-php']
|
||||
def setup(helper, old_version=None):
|
||||
"""Configure the module."""
|
||||
helper.install(managed_packages)
|
||||
actions.superuser_run('apache', ['setup'])
|
||||
actions.superuser_run('apache',
|
||||
['setup', '--old-version', str(old_version)])
|
||||
Reference in new issue
Block a user