1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/plume_ynh.git synced 2024-09-03 20:15:54 +02:00

update ynh_systemd_action --action=start

This commit is contained in:
yalh76 2019-03-21 04:29:52 +01:00
parent 93e160532c
commit ee5f8ee44b
4 changed files with 5 additions and 6 deletions

View file

@ -109,7 +109,7 @@ ynh_replace_string "$old_domain" "$new_domain" "$final_path/$app/.env"
# START SERVICE
#=================================================
ynh_systemd_action --action=start --service_name=$app
ynh_systemd_action --action=start --service_name=$app --log_path=systemd --line_match="Started plume"
#=================================================
# STORE THE CONFIG FILE CHECKSUM

View file

@ -128,8 +128,7 @@ db_pwd=$(ynh_string_random 30)
ynh_app_setting_set $app db_name $db_name
ynh_app_setting_set "$app" db_pwd "$db_pwd"
ynh_psql_create_user "$db_name" "$db_pwd"
ynh_psql_execute_as_root \
"CREATE DATABASE $db_name ENCODING 'UTF8' LC_COLLATE='C' LC_CTYPE='C' template=template0 OWNER $db_name;"
ynh_psql_execute_as_root "CREATE DATABASE $db_name ENCODING 'UTF8' LC_COLLATE='C' LC_CTYPE='C' template=template0 OWNER $db_name;"
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
@ -379,7 +378,7 @@ systemctl reload nginx
# START SERVICE
#=================================================
ynh_systemd_action --action=start --service_name=$app
ynh_systemd_action --action=start --service_name=$app --log_path=systemd --line_match="Started plume"
#=================================================
# END OF SCRIPT

View file

@ -157,7 +157,7 @@ systemctl reload nginx
# START SERVICE
#=================================================
ynh_systemd_action --action=start --service_name=$app
ynh_systemd_action --action=start --service_name=$app --log_path=systemd --line_match="Started plume"
#=================================================
# END OF SCRIPT

View file

@ -233,7 +233,7 @@ systemctl reload nginx
# START SERVICE
#=================================================
ynh_systemd_action --action=start --service_name=$app
ynh_systemd_action --action=start --service_name=$app --log_path=systemd --line_match="Started plume"
#=================================================
# END OF SCRIPT