mirror of
https://github.com/YunoHost-Apps/simplex_ynh.git
synced 2024-09-03 20:26:28 +02:00
fix
This commit is contained in:
parent
9912dd111e
commit
eb25e09ffe
7 changed files with 8 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
Your SMP server address:
|
||||
|
||||
smp://__FINGERPRINT__@__PUBLIC_IP4__:__PORT__
|
||||
xftp://__XFTP_FINGERPRINT__@__PUBLIC_IP4__:443
|
||||
xftp://__XFTP_FINGERPRINT__@__PUBLIC_IP4__:__PORT_XFTP__
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Adresse de votre serveur SMP :
|
||||
|
||||
smp://__FINGERPRINT__@__PUBLIC_IP4__:__PORT__
|
||||
xftp://__XFTP_FINGERPRINT__@__PUBLIC_IP4__:443
|
||||
xftp://__XFTP_FINGERPRINT__@__PUBLIC_IP4__:__PORT_XFTP__
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Adresse de votre serveur SMP :
|
||||
|
||||
smp://__FINGERPRINT__@__PUBLIC_IP4__:__PORT__
|
||||
xftp://__XFTP_FINGERPRINT__@__PUBLIC_IP4__:443
|
||||
xftp://__XFTP_FINGERPRINT__@__PUBLIC_IP4__:5224
|
||||
|
|
|
@ -53,6 +53,8 @@ ram.runtime = "50M"
|
|||
[resources.ports]
|
||||
main.default = 5223
|
||||
main.exposed = "TCP"
|
||||
xftp.default = 5224
|
||||
xftp.exposed = "TCP"
|
||||
|
||||
[resources.system_user]
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ ynh_add_systemd_config
|
|||
ynh_add_systemd_config --service=xftp --template=../conf/xftp.systemd.service
|
||||
|
||||
yunohost service add $app --description="Messaging platform" --log="/var/log/$app/$app.log" --needs_exposed_ports="$port"
|
||||
yunohost service add xftp --description="Messaging platform" --log="/var/log/$app/$app.log" --needs_exposed_ports="$port"
|
||||
yunohost service add xftp --description="Messaging platform" --log="/var/log/$app/$app.log" --needs_exposed_ports="$port_xftp"
|
||||
|
||||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
|
|
|
@ -36,7 +36,7 @@ ynh_restore_file --origin_path="/etc/systemd/system/xftp.service"
|
|||
systemctl enable xftp.service --quiet
|
||||
|
||||
yunohost service add $app --description="Messaging platform" --log="/var/log/$app/$app.log" --needs_exposed_ports="$port"
|
||||
yunohost service add xftp --description="Messaging platform" --log="/var/log/$app/$app.log" --needs_exposed_ports="$port"
|
||||
yunohost service add xftp --description="Messaging platform" --log="/var/log/$app/$app.log" --needs_exposed_ports="$port_xftp"
|
||||
|
||||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
|
|
|
@ -62,7 +62,7 @@ ynh_add_systemd_config
|
|||
ynh_add_systemd_config --service=xftp --template=../conf/xftp.systemd.service
|
||||
|
||||
yunohost service add $app --description="Messaging platform" --log="/var/log/$app/$app.log" --needs_exposed_ports="$port"
|
||||
yunohost service add xftp --description="Messaging platform" --log="/var/log/$app/$app.log" --needs_exposed_ports="$port"
|
||||
yunohost service add xftp --description="Messaging platform" --log="/var/log/$app/$app.log" --needs_exposed_ports="$port_xftp"
|
||||
|
||||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
|
|
Loading…
Add table
Reference in a new issue