Compare commits

..

No commits in common. "f796767e06dbe7d89a6d3a877dab106fb27dc238" and "4da3ef9bfda42be39d7e49f0c4d0e56272faabb1" have entirely different histories.

2 changed files with 4 additions and 30 deletions

View File

@ -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 <<EOF >/etc/systemd/system/dashy.service
[Unit]
Description=dashy
@ -54,29 +54,9 @@ 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"
$STD systemctl enable dashy
systemctl start dashy
msg_ok "Created Service"
motd_ssh
customize

View File

@ -22,12 +22,6 @@ msg_ok "Installed Dependencies"
msg_info "Installing Mosquitto MQTT Broker"
$STD apt-get -y install mosquitto
$STD apt-get -y install mosquitto-clients
cat <<EOF >/etc/mosquitto/conf.d/default.conf
allow_anonymous false
persistence true
password_file /etc/mosquitto/passwd
listener 1883
EOF
msg_ok "Installed Mosquitto MQTT Broker"
motd_ssh