Add systemd service and control scripts for LED Matrix Display

This commit is contained in:
ChuckBuilds
2025-04-19 12:40:21 -05:00
parent 4efa51e54c
commit a7b99c5c53
4 changed files with 103 additions and 0 deletions

19
stop_display.sh Normal file
View File

@@ -0,0 +1,19 @@
#!/bin/bash
# Get the current user
CURRENT_USER=$(whoami)
echo "Stopping LED Matrix Display Service for user: $CURRENT_USER..."
# Stop the service
sudo systemctl stop ledmatrix.service
# Check the status
echo "Service status:"
sudo systemctl status ledmatrix.service
echo ""
echo "LED Matrix Display Service has been stopped."
echo ""
echo "To start the service again:"
echo " sudo systemctl start ledmatrix.service"