mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-20 02:11:36 +00:00
- refactoring architecture - fix incomplete ssh logs - code editor for scripts in the app - remove Jobs and SSHCommands
10 lines
221 B
Bash
Executable File
10 lines
221 B
Bash
Executable File
if ! sudo mysql -e "DROP USER IF EXISTS '__username__'@'__host__'"; then
|
|
echo 'VITO_SSH_ERROR' && exit 1
|
|
fi
|
|
|
|
if ! sudo mysql -e "FLUSH PRIVILEGES"; then
|
|
echo 'VITO_SSH_ERROR' && exit 1
|
|
fi
|
|
|
|
echo "Command executed"
|