From c513051d12c82e69625c22ac59565212777e3ebd Mon Sep 17 00:00:00 2001 From: Mar Alegre Date: Thu, 7 Oct 2021 09:08:20 -0400 Subject: [PATCH] moved enable step to systemdfile --- nextcloud/Containerfile | 2 -- nextcloud/Systemdfile | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/nextcloud/Containerfile b/nextcloud/Containerfile index e8e1ea3..ef25aac 100644 --- a/nextcloud/Containerfile +++ b/nextcloud/Containerfile @@ -119,8 +119,6 @@ RUN ln -s /vol/data/host.config.php nextcloud/config/host.config.php # copy nextcloud db service COPY assets/nextcloud-db.service /etc/systemd/system/ -# enable nextcloud db service -RUN systemd enable nextcloud-db.service ### ### Crontab diff --git a/nextcloud/Systemdfile b/nextcloud/Systemdfile index d4372d3..7e9ac94 100644 --- a/nextcloud/Systemdfile +++ b/nextcloud/Systemdfile @@ -31,3 +31,6 @@ nc-occ app:disable comments dashboard federation files_trashbin firstrunwizard r # configure apps # set calendar to refresh subscriptions once a day (to set to one hour use 'PT1H' instead) nc-occ config:app:set dav calendarSubscriptionRefreshRate --value P1D + +# enable DB service +systemd enable nextcloud-db.service