Skip to content

Commit

Permalink
output some more information in nc-backup-auto and nc-scan-auto
Browse files Browse the repository at this point in the history
  • Loading branch information
nacho committed Aug 10, 2017
1 parent 1ae6a92 commit a13949c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions etc/nextcloudpi-config.d/nc-backup-auto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ configure()
[[ $ACTIVE_ != "yes" ]] && {
systemctl stop nc-backup.timer
systemctl disable nc-backup.timer
echo "automatic backups disabled"
return 0
}

Expand Down Expand Up @@ -108,6 +109,7 @@ EOF
systemctl daemon-reload
systemctl enable nc-backup.timer
systemctl start nc-backup.timer
echo "automatic backups enabled"
}

cleanup() { :; }
Expand Down
2 changes: 2 additions & 0 deletions etc/nextcloudpi-config.d/nc-scan-auto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ configure()
[[ $ACTIVE_ != "yes" ]] && {
systemctl stop nc-scan.timer
systemctl disable nc-scan.timer
echo "automatic scans disabled"
return 0
}

Expand All @@ -67,6 +68,7 @@ EOF
systemctl daemon-reload
systemctl enable nc-scan.timer
systemctl start nc-scan.timer
echo "automatic scans enabled"
}

cleanup() { :; }
Expand Down

0 comments on commit a13949c

Please sign in to comment.