mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
fail
This commit is contained in:
parent
f9697cbfb3
commit
efdaebaa30
1 changed files with 2 additions and 2 deletions
|
@ -217,7 +217,7 @@ def app_install(app, domain, path='/', label=None, public=False, protected=True)
|
||||||
|
|
||||||
# Customize apache conf
|
# Customize apache conf
|
||||||
a2_conf_lines = [
|
a2_conf_lines = [
|
||||||
'Alias '+ path +' '+ app_final_path +'/'+ manifest['launch_path']
|
'Alias '+ path +' '+ app_final_path + manifest['launch_path']
|
||||||
]
|
]
|
||||||
|
|
||||||
a2_conf_file = a2_settings_path +'/'+ domain +'.d/'+ unique_app_id +'.app.conf'
|
a2_conf_file = a2_settings_path +'/'+ domain +'.d/'+ unique_app_id +'.app.conf'
|
||||||
|
@ -257,7 +257,7 @@ def app_install(app, domain, path='/', label=None, public=False, protected=True)
|
||||||
|
|
||||||
if 'script_path' in manifest['yunohost']:
|
if 'script_path' in manifest['yunohost']:
|
||||||
os.system('cp -a "'+ app_tmp_folder +'/'+ manifest['yunohost']['script_path'] +'" '+ app_setting_path)
|
os.system('cp -a "'+ app_tmp_folder +'/'+ manifest['yunohost']['script_path'] +'" '+ app_setting_path)
|
||||||
|
|
||||||
shutil.rmtree(app_tmp_folder)
|
shutil.rmtree(app_tmp_folder)
|
||||||
|
|
||||||
if os.system('chmod 400 -R '+ app_setting_path) == 0:
|
if os.system('chmod 400 -R '+ app_setting_path) == 0:
|
||||||
|
|
Loading…
Add table
Reference in a new issue