From 421ba29201836d8d5f1eb8fb4e7b574538219255 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 3 Sep 2023 11:29:50 -0400 Subject: [PATCH] Update dashy-install.sh revert https://github.com/tteck/Proxmox/pull/1670 --- install/dashy-install.sh | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/install/dashy-install.sh b/install/dashy-install.sh index e7de0462..f4819a83 100644 --- a/install/dashy-install.sh +++ b/install/dashy-install.sh @@ -42,7 +42,7 @@ export NODE_OPTIONS=--max-old-space-size=1000 $STD yarn build msg_ok "Installed Dashy" -msg_info "Creating Services" +msg_info "Creating Service" cat </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 </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 </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