Update scripts/install
This commit is contained in:
parent
f7d04ff883
commit
200d7aca32
1 changed files with 9 additions and 3 deletions
|
@ -33,9 +33,13 @@ ynh_script_progression "Adding system configurations related to $app..."
|
||||||
|
|
||||||
ynh_config_add_nginx
|
ynh_config_add_nginx
|
||||||
|
|
||||||
ynh_config_add_systemd
|
ynh_add_systemd_config --service= "$app-backend" --template="$backend"
|
||||||
|
|
||||||
yunohost service add "$app" --description="a beautiful and performant vault to save all your files in the cloud" --log="/var/log/$app/$app.log"
|
ynh_add_systemd_config --service= "$app-frontend" --template="$frontend"
|
||||||
|
|
||||||
|
yunohost service add "$app-backend" --description="a beautiful and performant vault to save all your files in the cloud" --log="/var/log/$app/$app.log"
|
||||||
|
|
||||||
|
yunohost service add "$app-frontend" --description="a beautiful and performant vault to save all your files in the cloud" --log="/var/log/$app/$app.log"
|
||||||
|
|
||||||
ynh_script_progression "Installing $app..."
|
ynh_script_progression "Installing $app..."
|
||||||
|
|
||||||
|
@ -52,7 +56,9 @@ popd
|
||||||
|
|
||||||
ynh_script_progression "Starting $app's systemd service..."
|
ynh_script_progression "Starting $app's systemd service..."
|
||||||
|
|
||||||
ynh_systemctl --service="$app" --action="start"
|
ynh_systemctl --service="$app-backend" --action="start"
|
||||||
|
|
||||||
|
ynh_systemctl --service="$app-frontend" --action="start"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
|
|
Loading…
Reference in a new issue