diff --git a/1.Base/4.configuration_webinterface/0_setup.py b/1.Base/4.configuration_webinterface/0_setup.py index 5f4fe8b4dfadc3acaf2cd2f8c0ef8e544f5439dd..e336ca121d2c1a80d4f97f6058baf3245a837934 100644 --- a/1.Base/4.configuration_webinterface/0_setup.py +++ b/1.Base/4.configuration_webinterface/0_setup.py @@ -5,10 +5,12 @@ import os def setup(interactive=True): - # Create / update admin account utils.log('Installing webconf') - cmds = list() - cmds.append('apt-get install python3-ubicast-webconf') + cmds = ( + 'apt-get install python3-ubicast-webconf', + 'systemctl enable ubicast-webconf', + 'systemctl start ubicast-webconf' + ) settings = { "password": utils.get_conf('WEBCONF_PWD', 'changeme'), "port": utils.get_conf('WEBCONF_PORT', '9999'),