Update
This commit is contained in:
22
11-RemoveService/script.sh
Normal file
22
11-RemoveService/script.sh
Normal file
@ -0,0 +1,22 @@
|
||||
#!/bin/sh
|
||||
# Pour la configuration Remove Service
|
||||
GREEN='\033[0;32m'
|
||||
YELLOW='\033[1;33m'
|
||||
NOCOLOR='\033[0m'
|
||||
|
||||
echo "${YELLOW} ** ${NOCOLOR} Début du script : 11-Remove Service"
|
||||
echo "${NOCOLOR}"
|
||||
|
||||
systemctl list-unit-files --state=enabled
|
||||
|
||||
echo "${YELLOW} * ${NOCOLOR} Arret du service : "
|
||||
echo "${NOCOLOR}"
|
||||
|
||||
# systemctl disable service_name
|
||||
# systemctl stop service_name
|
||||
|
||||
echo "${YELLOW} * ${NOCOLOR} Arret du service : : ${GREEN} OK"
|
||||
echo "${NOCOLOR}"
|
||||
|
||||
echo "${YELLOW} ** ${NOCOLOR} Fin du script : 11-Remove Service"
|
||||
echo "${NOCOLOR}"
|
Reference in New Issue
Block a user