1
0
Fork 0
mirror of https://github.com/YunoHost/yunohost.git synced 2024-09-03 20:06:10 +02:00
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