yunohost/hooks/restore/29-system_nginx
2014-10-25 20:05:04 +02:00

8 lines
143 B
Bash

#!/bin/bash
backup_dir="$1/nginx"
sudo cp -a $backup_dir/. /etc/nginx/conf.d
# Restart to use new conf and certs
sudo service nginx restart