Moved conf.d creation up in init file for nextcloud and ensured it makes dirs
This commit is contained in:
parent
ffef51c4e3
commit
9faafaa4b2
1 changed files with 9 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue