Browse Source

moved enable step to systemdfile

pull/1/head
Mar Alegre 4 years ago
parent
commit
c513051d12
  1. 2
      nextcloud/Containerfile
  2. 3
      nextcloud/Systemdfile

2
nextcloud/Containerfile

@ -119,8 +119,6 @@ RUN ln -s /vol/data/host.config.php nextcloud/config/host.config.php
# copy nextcloud db service # copy nextcloud db service
COPY assets/nextcloud-db.service /etc/systemd/system/ COPY assets/nextcloud-db.service /etc/systemd/system/
# enable nextcloud db service
RUN systemd enable nextcloud-db.service
### ###
### Crontab ### Crontab

3
nextcloud/Systemdfile

@ -31,3 +31,6 @@ nc-occ app:disable comments dashboard federation files_trashbin firstrunwizard r
# configure apps # configure apps
# set calendar to refresh subscriptions once a day (to set to one hour use 'PT1H' instead) # 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 nc-occ config:app:set dav calendarSubscriptionRefreshRate --value P1D
# enable DB service
systemd enable nextcloud-db.service

Loading…
Cancel
Save