mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-01 14:06:15 +00:00
use blade as conmmands template (#444)
* use blade as conmmands template * fix lint * fix ssl
This commit is contained in:
5
resources/views/ssh/services/database/postgresql/delete-user.blade.php
Executable file
5
resources/views/ssh/services/database/postgresql/delete-user.blade.php
Executable file
@ -0,0 +1,5 @@
|
||||
if ! sudo -u postgres psql -c "DROP USER \"{{ $username }}\""; then
|
||||
echo 'VITO_SSH_ERROR' && exit 1
|
||||
fi
|
||||
|
||||
echo "User {{ $username }} deleted"
|
Reference in New Issue
Block a user