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

direct (non-daemon) start

This commit is contained in:
Salamandar 2024-02-23 11:36:15 +01:00
parent bca6d2c04f
commit 09feafc825
2 changed files with 3 additions and 3 deletions

View file

@ -21,7 +21,7 @@ location / {
proxy_pass http://localhost:__PORT_WEB_ADMIN__; proxy_pass http://localhost:__PORT_WEB_ADMIN__;
} }
location ~ /webmin { location ~ ^/webmin {
proxy_pass http://localhost:__PORT_WEB_ADMIN__$uri; proxy_pass http://localhost:__PORT_WEB_ADMIN__$uri;
} }

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 --webmport __PORT_WEB_ADMIN__ ExecStart=/usr/bin/duniter direct_${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__ ExecReload=/usr/bin/duniter direct_${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