1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mstream_ynh.git synced 2024-09-03 19:46:17 +02:00

Update install

This commit is contained in:
Éric Gaspar 2023-01-10 23:27:04 +01:00
parent 132e53deaf
commit 543983aae3

View file

@ -132,24 +132,24 @@ chown $app:$app "$final_path/default.json"
#=================================================
ynh_script_progression --message="Configuring a systemd service..." --weight=1
#env_path=$PATH
env_path=$PATH
# Create a dedicated systemd config
#ynh_add_systemd_config
ynh_add_systemd_config
#=================================================
# INTEGRATE SERVICE IN YUNOHOST
#=================================================
#ynh_script_progression --message="Integrating service in YunoHost..." --weight=3
ynh_script_progression --message="Integrating service in YunoHost..." --weight=3
#yunohost service add $app --description="Music streaming server" --log="/var/log/$app/$app.log"
yunohost service add $app --description="Music streaming server" --log="/var/log/$app/$app.log"
#=================================================
# START SYSTEMD SERVICE
#=================================================
#ynh_script_progression --message="Starting a systemd service..." --weight=1
ynh_script_progression --message="Starting a systemd service..." --weight=1
# Start a systemd service
#ynh_systemd_action --service_name=$app --action="start" --log_path="systemd"
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd"
#=================================================
# SETUP SSOWAT