Skip to content
Snippets Groups Projects
Commit 7721b129 authored by Florent Thiery's avatar Florent Thiery
Browse files

Auto start service, refs #21550

parent 4dabb12b
No related branches found
No related tags found
No related merge requests found
...@@ -5,10 +5,12 @@ import os ...@@ -5,10 +5,12 @@ import os
def setup(interactive=True): def setup(interactive=True):
# Create / update admin account
utils.log('Installing webconf') utils.log('Installing webconf')
cmds = list() cmds = (
cmds.append('apt-get install python3-ubicast-webconf') 'apt-get install python3-ubicast-webconf',
'systemctl enable ubicast-webconf',
'systemctl start ubicast-webconf'
)
settings = { settings = {
"password": utils.get_conf('WEBCONF_PWD', 'changeme'), "password": utils.get_conf('WEBCONF_PWD', 'changeme'),
"port": utils.get_conf('WEBCONF_PORT', '9999'), "port": utils.get_conf('WEBCONF_PORT', '9999'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment