From 2c90f89c353c2b676ebb72c21355329b7a548c87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Thu, 22 Feb 2024 20:19:13 +0100 Subject: [PATCH] Found how to configure port web admin --- conf/systemd.service | 4 ++-- manifest.toml | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/conf/systemd.service b/conf/systemd.service index 61fafad..c798742 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -10,8 +10,8 @@ Environment="DUNITER_OPTS=" Group=duniter User=duniter Type=forking -ExecStart=/usr/bin/duniter ${DUNITER_WEB}start --home ${DUNITER_HOME} --mdb ${DUNITER_DATA} $DUNITER_OPTS -ExecReload=/usr/bin/duniter ${DUNITER_WEB}restart --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 --webmport __PORT_WEB_ADMIN__ ExecStop=/usr/bin/duniter stop --home ${DUNITER_HOME} --mdb ${DUNITER_DATA} Restart=on-failure diff --git a/manifest.toml b/manifest.toml index 3548f23..5fad362 100644 --- a/manifest.toml +++ b/manifest.toml @@ -60,8 +60,6 @@ ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requiremen admin.additional_urls = ["/webmin"] [resources.ports] + web_admin.default = 9220 local_bma.default = 10901 local_ws2p.default = 20901 - # Dunno how to configure this… - web_admin.default = 9220 - web_admin.fixed = true