mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
output some more information in nc-backup-auto and nc-scan-auto
This commit is contained in:
parent
c5c5a8eab0
commit
6f8d553510
@ -44,6 +44,7 @@ configure()
|
||||
[[ $ACTIVE_ != "yes" ]] && {
|
||||
systemctl stop nc-backup.timer
|
||||
systemctl disable nc-backup.timer
|
||||
echo "automatic backups disabled"
|
||||
return 0
|
||||
}
|
||||
|
||||
@ -108,6 +109,7 @@ EOF
|
||||
systemctl daemon-reload
|
||||
systemctl enable nc-backup.timer
|
||||
systemctl start nc-backup.timer
|
||||
echo "automatic backups enabled"
|
||||
}
|
||||
|
||||
cleanup() { :; }
|
||||
|
||||
@ -48,6 +48,7 @@ configure()
|
||||
[[ $ACTIVE_ != "yes" ]] && {
|
||||
systemctl stop nc-scan.timer
|
||||
systemctl disable nc-scan.timer
|
||||
echo "automatic scans disabled"
|
||||
return 0
|
||||
}
|
||||
|
||||
@ -67,6 +68,7 @@ EOF
|
||||
systemctl daemon-reload
|
||||
systemctl enable nc-scan.timer
|
||||
systemctl start nc-scan.timer
|
||||
echo "automatic scans enabled"
|
||||
}
|
||||
|
||||
cleanup() { :; }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user