Moved UI resources to Wwwroot in embedded golang webserver RIVM-23

This commit is contained in:
Mihail Slobodyanuk 2022-12-13 17:07:34 +02:00
parent b52e1bb787
commit dca4fdd689
6 changed files with 15 additions and 9 deletions

View file

@ -12,7 +12,7 @@ ProtectSystem=true
SyslogIdentifier=mesh
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW CAP_NET_BIND_SERVICE
ExecStartPre=+-/sbin/modprobe tun
ExecStart=/usr/bin/mesh -useconffile /etc/mesh.conf
ExecStart=/usr/bin/mesh -useconffile /etc/mesh.conf -logto /var/log/mesh.log -httpaddress "http://localhost:19019" -wwwroot "/usr/share/riv"
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
TimeoutStopSec=5