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
11c8f18f38
commit
5f677f824a
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue