mirror of
https://github.com/YunoHost-Apps/yunorunner_ynh.git
synced 2024-09-03 20:36:13 +02:00
Fix again argument exposed port
This commit is contained in:
parent
a2851e14a3
commit
e937e5037e
3 changed files with 3 additions and 3 deletions
|
@ -83,7 +83,7 @@ ynh_add_nginx_config
|
||||||
|
|
||||||
# Create a dedicated systemd config
|
# Create a dedicated systemd config
|
||||||
ynh_add_systemd_config
|
ynh_add_systemd_config
|
||||||
yunohost service add "$app" --description="$app daemon for YunoRunner" "$(exposed_ports_if_cluster)"
|
yunohost service add "$app" --description="$app daemon for YunoRunner" $(exposed_ports_if_cluster)
|
||||||
|
|
||||||
ynh_add_config --template="cron" --destination="/etc/cron.d/$app"
|
ynh_add_config --template="cron" --destination="/etc/cron.d/$app"
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,7 @@ ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||||
|
|
||||||
ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
|
ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
|
||||||
systemctl enable "$app.service" --quiet
|
systemctl enable "$app.service" --quiet
|
||||||
yunohost service add "$app" --description="$app daemon for YunoRunner" "$(exposed_ports_if_cluster)"
|
yunohost service add "$app" --description="$app daemon for YunoRunner" $(exposed_ports_if_cluster)
|
||||||
|
|
||||||
ynh_restore_file --origin_path="/etc/cron.d/$app"
|
ynh_restore_file --origin_path="/etc/cron.d/$app"
|
||||||
|
|
||||||
|
|
|
@ -108,7 +108,7 @@ ynh_add_nginx_config
|
||||||
|
|
||||||
# Create a dedicated systemd config
|
# Create a dedicated systemd config
|
||||||
ynh_add_systemd_config
|
ynh_add_systemd_config
|
||||||
yunohost service add "$app" --description="$app daemon for YunoRunner" "$(exposed_ports_if_cluster)"
|
yunohost service add "$app" --description="$app daemon for YunoRunner" $(exposed_ports_if_cluster)
|
||||||
|
|
||||||
ynh_add_config --template="cron" --destination="/etc/cron.d/$app"
|
ynh_add_config --template="cron" --destination="/etc/cron.d/$app"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue