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

avoid linter warning

This commit is contained in:
siwinter 2021-08-25 22:52:10 +02:00 committed by GitHub
parent 11c8f18f38
commit 5f677f824a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -139,7 +139,11 @@ ynh_add_config --template="../conf/app.conf" --destination="$conf_file"
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
if [ $mpd_port -ne 0 ]; then
yunohost service add $app --description="Mopidy music server" --log="/var/log/$app/$app.log" --needs_exposed_ports=$mpd_port
else
yunohost service add $app --description="Mopidy music server" --log="/var/log/$app/$app.log"
fi
#=================================================
# START SYSTEMD SERVICE