mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
9 lines
171 B
Bash
9 lines
171 B
Bash
#!/bin/bash
|
|
|
|
backup_dir="$1/mail"
|
|
|
|
sudo cp -a $backup_dir/* /var/mail/
|
|
|
|
# Restart services to use migrated certs
|
|
sudo service postfix restart
|
|
sudo service dovecot restart
|