mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
xmpp: Use webserver action utilties
This commit is contained in:
parent
c9d918157c
commit
d650273760
@ -135,9 +135,9 @@ def subcommand_pre_install(arguments):
|
||||
|
||||
def subcommand_setup(_):
|
||||
"""Setup jwchat apache conf"""
|
||||
subprocess.call(['a2dissite', 'jwchat'])
|
||||
subprocess.call(['a2enconf', 'jwchat-plinth'])
|
||||
action_utils.service_reload('apache2')
|
||||
with action_utils.WebserverChange() as webserver_change:
|
||||
webserver_change.disable('jwchat', kind='site')
|
||||
webserver_change.enable('jwchat-plinth')
|
||||
|
||||
|
||||
def subcommand_is_ldap_enabled(_):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user