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