Saeed Vaziry 5c72f12490 init
2023-07-02 12:47:50 +02:00

8 lines
194 B
Bash
Executable File

if ! echo '__vhost__' | sudo tee /etc/nginx/sites-available/__domain__; then
echo 'VITO_SSH_ERROR' && exit 1
fi
if ! sudo service nginx restart; then
echo 'VITO_SSH_ERROR' && exit 1
fi