yunohost/data/hooks/restore/26-conf_xmpp

7 lines
174 B
Text

backup_dir="$1/conf/xmpp"
cp -a $backup_dir/etc/. /etc/metronome
cp -a $backup_dir/var/. /var/lib/metronome
# Restart to apply new conf and certs
service metronome restart