This commit is contained in:
Hubert Cornet 2025-04-24 19:16:57 +02:00
parent c3576e785b
commit ed57a57fe2
2 changed files with 8 additions and 1 deletions

View File

@ -59,6 +59,11 @@ log_message() {
echo -e "${GREEN}[$LEVEL]${NC} $MESSAGE"
echo
;;
"SERVICE")
echo ""
echo -e "${CYAN}[$LEVEL]${NC} $MESSAGE"
echo
;;
*)
echo "[$LEVEL] $MESSAGE"
;;
@ -161,7 +166,7 @@ is_package_installed() {
service() {
systemctl $1 $2 || handle_error "test"
log_message "SUCCESS" "Action : $1 for service : $2 successfully"
log_message "SERVICE" "Action : $1 for service : $2 successfully"
}
# Fonction pour la gestion des erreurs

View File

@ -0,0 +1,2 @@
#
ssh-rsa AAAAB3NzaC1yc2EAAAADAQA