Your ROOT_URL in app.ini is https://git.bwnetwork.us/ but you are visiting http://git.bwnetwork.us/Administrator/Proxmox_Helper_scripts/commit/421ba29201836d8d5f1eb8fb4e7b574538219255?style=unified&whitespace=ignore-change
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
2 additions and
23 deletions
@ -42,7 +42,7 @@ export NODE_OPTIONS=--max-old-space-size=1000
$STD yarn build
msg_ok "Installed Dashy"
msg_info "Creating Service s "
msg_info "Creating Service "
cat <<EOF >/etc/systemd/system/dashy.service
[ Unit]
Description = dashy
@ -51,32 +51,11 @@ Description=dashy
Type = simple
WorkingDirectory = /dashy
ExecStart = /usr/bin/yarn start
[ Install]
WantedBy = multi-user.target
EOF
cat <<EOF >/etc/systemd/system/dashy-rebuild.service
[ Unit]
Description = Rebuild Dashy on Config Changes
[ Service]
Type = oneshot
ExecStart = /usr/bin/yarn --cwd= /dashy build
EOF
cat <<EOF >/etc/systemd/system/dashy-rebuild.path
[ Unit]
Description = Monitor Dashy Config for Changes
[ Path]
PathChanged = /dashy/public/conf.yml
[ Install]
WantedBy = multi-user.target
EOF
systemctl -q --now enable dashy
systemctl -q --now enable dashy-rebuild
msg_ok "Created Services"
msg_ok "Created Service"
motd_ssh
customize