mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-21 19:01:37 +00:00
8 lines
206 B
PHP
Executable File
8 lines
206 B
PHP
Executable File
if ! sudo ln -s /etc/nginx/sites-available/{{ $domain }} /etc/nginx/sites-enabled/; then
|
|
echo 'VITO_SSH_ERROR' && exit 1
|
|
fi
|
|
|
|
if ! sudo service nginx restart; then
|
|
echo 'VITO_SSH_ERROR' && exit 1
|
|
fi
|