mirror of
https://github.com/silicoflare/docker-hadoop.git
synced 2026-05-26 12:09:54 +05:30
Squash layers and add prompt customization
This commit is contained in:
21
restart
21
restart
@@ -1,7 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
service ssh restart
|
||||
stop-hbase.sh
|
||||
stop-all.sh
|
||||
start-all.sh
|
||||
start-hbase.sh
|
||||
jps
|
||||
|
||||
source 'colors'
|
||||
|
||||
printf "${FG_BROWN}Restarting SSH... "
|
||||
service ssh restart > /dev/nul
|
||||
printf "${FG_GREEN}Done!\n${FG_BROWN}Stopping all processes... "
|
||||
stop-hbase.sh > /dev/nul
|
||||
stop-all.sh > /dev/nul
|
||||
|
||||
printf "${FG_GREEN}Done!\n${FG_BROWN}Starting up all processes... "
|
||||
start-all.sh > /dev/nul
|
||||
start-hbase.sh > /dev/nul
|
||||
|
||||
printf "${FG_GREEN}Done!\n${FG_BROWN}Checking processes... "
|
||||
printf "\n${FG_BLUE}$(jps | wc -l) processes.${RESET}\n"
|
||||
Reference in New Issue
Block a user