Files
PiVideo/start.sh
T
2024-08-11 11:50:32 +02:00

14 lines
302 B
Bash

#! /bin/bash
GREEN='\033[0;32m'
NOCOLOR='\033[0m'
SERVICE_NAME="pivideo.service"
echo -e "${GREEN}======== Starte Dienst =========${NOCOLOR}"
sudo systemctl start $SERVICE_NAME
echo -e "${GREEN}======== Starte Autostart des Diensts =========${NOCOLOR}"
sudo systemctl enable $SERVICE_NAME
exit 0