mirror of
https://github.com/YunoHost-Apps/borg_ynh.git
synced 2024-09-03 18:16:05 +02:00
[fix] Sources not replaced
This commit is contained in:
parent
05ba4473d0
commit
5cdcbd6907
1 changed files with 15 additions and 0 deletions
|
@ -46,3 +46,18 @@ if is_stretch; then
|
||||||
|
|
||||||
install_borg_with_pip
|
install_borg_with_pip
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# SETUP THE BACKUP METHOD
|
||||||
|
#=================================================
|
||||||
|
ynh_configure backup_method "/etc/yunohost/hooks.d/backup_method/05-${app}_app"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# CONFIGURE CRON
|
||||||
|
#=================================================
|
||||||
|
ynh_configure backup-with-borg "/usr/local/bin/backup-with-$app"
|
||||||
|
chmod u+x "/usr/local/bin/backup-with-$app"
|
||||||
|
ynh_add_systemd_config
|
||||||
|
ynh_configure systemd.timer "/etc/systemd/system/$app.timer"
|
||||||
|
systemctl enable $app.timer
|
||||||
|
systemctl start $app.timer
|
||||||
|
|
Loading…
Add table
Reference in a new issue