Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/update.sh b/update.sh
index b6667ec8..1e1d906d 100755
--- a/update.sh
+++ b/update.sh
@@ -232,6 +232,12 @@ done
sed -i 's|NextCloudPlus autogenerated|NextCloudPi autogenerated|' /etc/dhcpcd.conf
sed -i 's|NextCloudPlus|NextCloudPi|' /etc/fail2ban/action.d/sendmail-whois-lines.conf
+ # make sure provisioning is enabled
+ systemctl -q is-enabled nc-provisioning || {
+ systemctl start nc-provisioning
+ systemctl enable nc-provisioning
+ }
+
} # end - only live updates
exit 0