fix create queue with root user (#409)

* fix create queue with root user

* fix

* fix queues for root user
This commit is contained in:
Saeed Vaziry
2024-12-30 02:33:00 -08:00
committed by GitHub
parent dfdd50beb7
commit 8b86ff23c9
9 changed files with 68 additions and 35 deletions

View File

@ -4,10 +4,6 @@ mkdir -p ~/.logs/workers
touch ~/.logs/workers/__id__.log
if ! echo '__config__' | sudo tee /etc/supervisor/conf.d/__id__.conf; then
echo 'VITO_SSH_ERROR' && exit 1
fi
if ! sudo supervisorctl reread; then
echo 'VITO_SSH_ERROR' && exit 1
fi