From 7add9d891d36cadc68e4633298468e68aefd06a6 Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 7 Aug 2023 08:56:46 -0400 Subject: [PATCH] Update dashy-install.sh tweak --- install/dashy-install.sh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/install/dashy-install.sh b/install/dashy-install.sh index ef8106be..e7de0462 100644 --- a/install/dashy-install.sh +++ b/install/dashy-install.sh @@ -54,10 +54,8 @@ ExecStart=/usr/bin/yarn start [Install] WantedBy=multi-user.target EOF -$STD systemctl enable dashy -systemctl start dashy -cat > /etc/systemd/system/dashy-rebuild.service << EOF +cat </etc/systemd/system/dashy-rebuild.service [Unit] Description=Rebuild Dashy on Config Changes @@ -66,7 +64,7 @@ Type=oneshot ExecStart=/usr/bin/yarn --cwd=/dashy build EOF -cat > /etc/systemd/system/dashy-rebuild.path << EOF +cat </etc/systemd/system/dashy-rebuild.path [Unit] Description=Monitor Dashy Config for Changes @@ -76,9 +74,8 @@ PathChanged=/dashy/public/conf.yml [Install] WantedBy=multi-user.target EOF - -$STD systemctl enable dashy-rebuild -systemctl start dashy-rebuild +systemctl -q --now enable dashy +systemctl -q --now enable dashy-rebuild msg_ok "Created Services" motd_ssh