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 19:18:58 +02:00 committed by GitHub
parent 3a08135f5a
commit 6678ca9a56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -155,7 +155,11 @@ chown -R $app:www-data "$final_path"
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..."
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