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