mirror of
https://github.com/YunoHost-Apps/borg_ynh.git
synced 2024-09-03 18:16:05 +02:00
Merge branch 'master' into testing
This commit is contained in:
commit
d67b224d3b
1 changed files with 2 additions and 1 deletions
|
@ -33,8 +33,9 @@ ynh_clean_setup () {
|
||||||
# Exit if an error occurs during the execution of the script
|
# Exit if an error occurs during the execution of the script
|
||||||
ynh_abort_if_errors
|
ynh_abort_if_errors
|
||||||
|
|
||||||
|
|
||||||
if grep "borg.timer" /etc/yunohost/services.yml > /dev/null ; then
|
if grep "borg.timer" /etc/yunohost/services.yml > /dev/null ; then
|
||||||
yunohost service remove $app.timer
|
yunohost service remove $app.timer
|
||||||
systemctl enable $app.timer
|
systemctl enable $app.timer
|
||||||
systemctl start $app.timer
|
systemctl start $app.timer
|
||||||
fi
|
fi
|
Loading…
Add table
Reference in a new issue