1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/duniter_ynh.git synced 2024-09-03 18:26:35 +02:00

Found how to configure port web admin

This commit is contained in:
Salamandar 2024-02-22 20:19:13 +01:00
parent 0c265d31bd
commit 2c90f89c35
2 changed files with 3 additions and 5 deletions

View file

@ -10,8 +10,8 @@ Environment="DUNITER_OPTS="
Group=duniter Group=duniter
User=duniter User=duniter
Type=forking Type=forking
ExecStart=/usr/bin/duniter ${DUNITER_WEB}start --home ${DUNITER_HOME} --mdb ${DUNITER_DATA} $DUNITER_OPTS ExecStart=/usr/bin/duniter ${DUNITER_WEB}start --home ${DUNITER_HOME} --mdb ${DUNITER_DATA} $DUNITER_OPTS --webmport __PORT_WEB_ADMIN__
ExecReload=/usr/bin/duniter ${DUNITER_WEB}restart --home ${DUNITER_HOME} --mdb ${DUNITER_DATA} $DUNITER_OPTS ExecReload=/usr/bin/duniter ${DUNITER_WEB}restart --home ${DUNITER_HOME} --mdb ${DUNITER_DATA} $DUNITER_OPTS --webmport __PORT_WEB_ADMIN__
ExecStop=/usr/bin/duniter stop --home ${DUNITER_HOME} --mdb ${DUNITER_DATA} ExecStop=/usr/bin/duniter stop --home ${DUNITER_HOME} --mdb ${DUNITER_DATA}
Restart=on-failure Restart=on-failure

View file

@ -60,8 +60,6 @@ ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requiremen
admin.additional_urls = ["/webmin"] admin.additional_urls = ["/webmin"]
[resources.ports] [resources.ports]
web_admin.default = 9220
local_bma.default = 10901 local_bma.default = 10901
local_ws2p.default = 20901 local_ws2p.default = 20901
# Dunno how to configure this…
web_admin.default = 9220
web_admin.fixed = true