Moved conf.d creation up in init file for nextcloud and ensured it makes dirs

This commit is contained in:
Actaeus Curabitur 2022-09-06 04:52:06 -05:00
parent ffef51c4e3
commit 9faafaa4b2

View file

@ -8,6 +8,14 @@ nextcloud-pkgs:
- nginx
- openldap
nextcloud-nginx-confd:
file.directory:
- name: /etc/nginx/conf.d/
- user: root
- group: root
- mode: 755
- makedirs: true
/home/nextcloud/:
file.directory:
- user: nextcloud
@ -40,6 +48,7 @@ nextcloud-nginx-confd:
- user: root
- group: root
- mode: 755
- makedirs: true
/etc/systemd/system/nextcloud-cron.service.d/:
file.directory: