From 14addd23ec76cdff0066d2806c0a219e677a462f Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 10 Aug 2021 19:23:13 +0200 Subject: [PATCH] Update install --- scripts/install | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 7e0cdcc..0436ae0 100755 --- a/scripts/install +++ b/scripts/install @@ -120,7 +120,9 @@ ynh_add_systemd_config # SETUP APPLICATION PASSWORD #================================================= -ynh_exec_as $app $final_path/owncast -streamkey $password +pushd $final_path + ynh_exec_as $app $final_path/owncast -streamkey $password +popd #================================================= # GENERIC FINALIZATION @@ -146,6 +148,7 @@ ynh_script_progression --message="Starting a systemd service..." --weight=1 # Start a systemd service ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" + sleep 30 #=================================================