mirror of
https://github.com/YunoHost-Apps/galene_ynh.git
synced 2024-09-03 18:36:31 +02:00
Fix
This commit is contained in:
parent
1d2e29a669
commit
9a99fc0fe9
3 changed files with 3 additions and 3 deletions
|
@ -8,7 +8,7 @@ Type=simple
|
|||
WorkingDirectory=__FINALPATH__/
|
||||
User=__APP__
|
||||
Group=__APP__
|
||||
ExecStart=__FINALPATH__/galene -turn __IPV4__:1194
|
||||
ExecStart=__FINALPATH__/galene -turn __PUBLIC_IPV4__:1194
|
||||
LimitNOFILE=65536
|
||||
|
||||
[Install]
|
||||
|
|
|
@ -125,7 +125,7 @@ ynh_script_progression --message="Configuring a systemd service..." --weight=1
|
|||
|
||||
public_ip4="$(curl -s ip.yunohost.org)" || true
|
||||
|
||||
ynh_replace_string --match_string="__IPV4__" --replace_string="$public_ip4" --target_file="../conf/systemd.service"
|
||||
ynh_replace_string --match_string="__PUBLIC_IPV4__" --replace_string="$public_ip4" --target_file="../conf/systemd.service"
|
||||
|
||||
# Create a dedicated systemd config
|
||||
ynh_add_systemd_config
|
||||
|
|
|
@ -128,7 +128,7 @@ ynh_script_progression --message="Upgrading systemd configuration..." --weight=1
|
|||
|
||||
public_ip4="$(curl -s ip.yunohost.org)" || true
|
||||
|
||||
ynh_replace_string --match_string="__IPV4__" --replace_string="$public_ip4" --target_file="../conf/systemd.service"
|
||||
ynh_replace_string --match_string="__PUBLIC_IPV4__" --replace_string="$public_ip4" --target_file="../conf/systemd.service"
|
||||
|
||||
# Create a dedicated systemd config
|
||||
ynh_add_systemd_config
|
||||
|
|
Loading…
Reference in a new issue