git.p6c8.net
/
nextcloud-backup-restore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
When backup is cancelled, restart the webserver
[nextcloud-backup-restore.git]
/
NextcloudBackup.sh
diff --git
a/NextcloudBackup.sh
b/NextcloudBackup.sh
index d1b1ed2a403866ff2172e619a7746eee8c30446c..72bc4a08c398e4e9be7a1079535cd42fa53d49a8 100644
(file)
--- a/
NextcloudBackup.sh
+++ b/
NextcloudBackup.sh
@@
-3,7
+3,7
@@
#
# Bash script for creating backups of Nextcloud.
#
#
# Bash script for creating backups of Nextcloud.
#
-# Version 1.1.
0
+# Version 1.1.
1
#
# Usage:
# - With backup directory specified in the script: ./NextcloudBackup.sh
#
# Usage:
# - With backup directory specified in the script: ./NextcloudBackup.sh
@@
-101,6
+101,11
@@
function CtrlC() {
echo "Maintenance mode still enabled."
fi
echo "Maintenance mode still enabled."
fi
+ echo "Starting web server..."
+ systemctl start "${webserverServiceName}"
+ echo "Done"
+ echo
+
exit 1
}
exit 1
}
patrick-canterino.de