1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jellyfin_ynh.git synced 2024-09-03 19:26:29 +02:00

Change service startup keywords

This commit is contained in:
tituspijean 2021-04-02 12:36:17 +02:00
parent 87549cb90a
commit 06fd729a26
3 changed files with 5 additions and 6 deletions

View file

@ -115,7 +115,7 @@ ynh_system_user_create --username=$app
ynh_script_progression --message="Configuring the settings..." --weight=1 ynh_script_progression --message="Configuring the settings..." --weight=1
# Load services once to generate system.xml # Load services once to generate system.xml
ynh_systemd_action --service_name=$app --action="restart" --log_path="systemd" --line_match="Startup complete" ynh_systemd_action --service_name=$app --action="restart" --log_path="systemd" --line_match="Started Jellyfin Media Server"
ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd" --line_match="Stopped Jellyfin Media Server" ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd" --line_match="Stopped Jellyfin Media Server"
# Port config # Port config
@ -175,7 +175,7 @@ yunohost service add $app --description="Jellyfin media center" --log_type="syst
ynh_script_progression --message="Starting a systemd service..." --weight=1 ynh_script_progression --message="Starting a systemd service..." --weight=1
# Start a systemd service # Start a systemd service
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Startup complete" ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Started Jellyfin Media Server"
#================================================= #=================================================
# SETUP SSOWAT # SETUP SSOWAT

View file

@ -119,8 +119,7 @@ yunohost service add $app --description="Jellyfin media center" --log_type="syst
#================================================= #=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=1 ynh_script_progression --message="Starting a systemd service..." --weight=1
ynh_systemd_action --service_name=$app --action="restart" --log_path="systemd" --line_match="Startup complete" ynh_systemd_action --service_name=$app --action="restart" --log_path="systemd" --line_match="Started Jellyfin Media Server"
#================================================= #=================================================
# RESTORE THE LOGROTATE CONFIGURATION # RESTORE THE LOGROTATE CONFIGURATION

View file

@ -140,7 +140,7 @@ if [ -z "/etc/jellyfin/network.xml" ]; then
ynh_backup_if_checksum_is_different --file="$config_path/system.xml" ynh_backup_if_checksum_is_different --file="$config_path/system.xml"
# Load services once to generate network.xml # Load services once to generate network.xml
ynh_systemd_action --service_name=$app --action="restart" --log_path="systemd" --line_match="Startup complete" ynh_systemd_action --service_name=$app --action="restart" --log_path="systemd" --line_match="Started Jellyfin Media Server"
ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd" --line_match="Stopped Jellyfin Media Server" ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd" --line_match="Stopped Jellyfin Media Server"
# Port config # Port config
@ -196,7 +196,7 @@ yunohost service add $app --description="Jellyfin media center" --log_type="syst
#================================================= #=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=1 ynh_script_progression --message="Starting a systemd service..." --weight=1
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Startup complete" ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Started Jellyfin Media Server"
#================================================= #=================================================
# RELOAD NGINX # RELOAD NGINX