diff --git a/scripts/install b/scripts/install index 004ff25..ac06e62 100644 --- a/scripts/install +++ b/scripts/install @@ -92,8 +92,9 @@ ynh_system_user_create --username=$app # Load services once to generate system.xml systemctl enable jellyfin -ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Startup complete" -ynh_systemd_action --service_name=$app --action="stop" +systemctl start jellyfin +sleep 5 +systemctl stop jellyfin # Port config ynh_replace_string --match_string="8096" --replace_string="$port" --target_file="/etc/jellyfin/system.xml"