From ceb15c520ef6ff83a0bf105dfceffd17c6423673 Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Fri, 28 Apr 2023 18:12:16 +0200 Subject: [PATCH] updated nextcloud state --- states/nextcloud/init.sls | 1 - states/nextcloud/install.sls | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/states/nextcloud/init.sls b/states/nextcloud/init.sls index a2a4fe7..07b0c86 100644 --- a/states/nextcloud/init.sls +++ b/states/nextcloud/init.sls @@ -4,4 +4,3 @@ include: - redis - .install - .config - - php.service diff --git a/states/nextcloud/install.sls b/states/nextcloud/install.sls index 46c1edf..994d472 100644 --- a/states/nextcloud/install.sls +++ b/states/nextcloud/install.sls @@ -11,12 +11,16 @@ nextcloud-archive: - user: {{ nextcloud.user }} - group: {{ nextcloud.group }} - if_missing: {{ nextcloud.release_dir }}/nextcloud-{{ nextcloud.version }} + - watch_in: + service: php-fpm-service nextcloud-install-link: file.symlink: - name: {{ nextcloud.install_dir }}/nextcloud - target: {{ nextcloud.release_dir }}/nextcloud-{{ nextcloud.version }} - force: true + - watch_in: + service: php-fpm-service nextcloud-datadirectory: file.directory: