mirror of
https://github.com/YunoHost-Apps/jellyfin_ynh.git
synced 2024-09-03 19:26:29 +02:00
Reverting to manual startup of the service to init xml setting file
This commit is contained in:
parent
552ee2b03b
commit
f09dfe73e7
1 changed files with 3 additions and 2 deletions
|
@ -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="<HttpServerPortNumber>8096</HttpServerPortNumber>" --replace_string="<HttpServerPortNumber>$port</HttpServerPortNumber>" --target_file="/etc/jellyfin/system.xml"
|
||||
|
|
Loading…
Add table
Reference in a new issue