feat: use embeds for the message and add startup and shutdown messages!

This commit is contained in:
Jet Pham 2025-06-06 19:44:41 -07:00
parent baef052a4a
commit aa434ed39b
No known key found for this signature in database
5 changed files with 99 additions and 17 deletions

View file

@ -38,7 +38,10 @@ WantedBy=multi-user.target
EOL
echo "Copying to Raspberry Pi..."
ssh noisebridge@noisebell.local "mkdir -p ~/noisebell"
# Stop the service if it's running
ssh noisebridge@noisebell.local "sudo systemctl stop noisebell || true"
sleep 1
# Copy files
scp target/aarch64-unknown-linux-gnu/release/noisebell noisebridge@noisebell.local:~/noisebell/
scp noisebell.service noisebridge@noisebell.local:~/noisebell/