Added Some Dokumentation to the README and the individial scripts

This commit is contained in:
Tim
2024-08-12 07:25:52 +02:00
parent ba94e2a6c3
commit 41c263da15
4 changed files with 42 additions and 5 deletions
+7 -2
View File
@@ -1,14 +1,19 @@
#! /bin/bash
## A simple script which starts the playing of the Video and enables the SystemD service
# Definition of colors for the echo outputs
GREEN='\033[0;32m'
NOCOLOR='\033[0m'
# Servicename which this script affects
SERVICE_NAME="pivideo.service"
echo -e "${GREEN}======== Starte Dienst =========${NOCOLOR}"
echo -e "${GREEN}======== STARTING SERVICE =========${NOCOLOR}"
sudo systemctl start $SERVICE_NAME
echo -e "${GREEN}======== Starte Autostart des Diensts =========${NOCOLOR}"
echo -e "${GREEN}======== ENABELING SERVICE =========${NOCOLOR}"
sudo systemctl enable $SERVICE_NAME
exit 0