Update dashy-install.sh

tweak
pull/1679/head
tteckster 1 year ago committed by GitHub
parent 80ad523a24
commit 7add9d891d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 <<EOF >/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 <<EOF >/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

Loading…
Cancel
Save

Powered by BW's shoe-string budget.