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:
parent
3a08135f5a
commit
6678ca9a56
1 changed files with 5 additions and 1 deletions
|
@ -155,7 +155,11 @@ chown -R $app:www-data "$final_path"
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Integrating service in YunoHost..."
|
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"
|
yunohost service add $app --description="Mopidy music server" --log="/var/log/$app/$app.log"
|
||||||
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# START SYSTEMD SERVICE
|
# START SYSTEMD SERVICE
|
||||||
|
|
Loading…
Add table
Reference in a new issue