mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-10 13:02:59 +00:00
19 lines
417 B
Bash
19 lines
417 B
Bash
#!/bin/bash
|
|
|
|
# Get the current user
|
|
CURRENT_USER=$(whoami)
|
|
|
|
echo "Starting LED Matrix Display Service for user: $CURRENT_USER..."
|
|
|
|
# Start the service
|
|
sudo systemctl start ledmatrix.service
|
|
|
|
# Check the status
|
|
echo "Service status:"
|
|
sudo systemctl status ledmatrix.service
|
|
|
|
echo ""
|
|
echo "LED Matrix Display Service has been started."
|
|
echo ""
|
|
echo "To stop the service:"
|
|
echo " sudo systemctl stop ledmatrix.service" |