From 3ad0d956434653d34c2143cbe5bf1b02dc138c63 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Fri, 17 Jun 2022 09:51:56 +0200 Subject: [PATCH] handler: update path of pidfile for ganesha default path has moved from `/var/run/ganesha.pid` to `/var/run/ganesha/ganesha.pid`. This updates the restart script accordingly. Signed-off-by: Guillaume Abrioux --- roles/ceph-handler/templates/restart_nfs_daemon.sh.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ceph-handler/templates/restart_nfs_daemon.sh.j2 b/roles/ceph-handler/templates/restart_nfs_daemon.sh.j2 index b8510bd98..c1571baa4 100644 --- a/roles/ceph-handler/templates/restart_nfs_daemon.sh.j2 +++ b/roles/ceph-handler/templates/restart_nfs_daemon.sh.j2 @@ -3,7 +3,7 @@ RETRIES="{{ handler_health_nfs_check_retries }}" DELAY="{{ handler_health_nfs_check_delay }}" NFS_NAME="ceph-nfs@{{ ceph_nfs_service_suffix | default(ansible_facts['hostname']) }}" -PID=/var/run/ganesha.pid +PID=/var/run/ganesha/ganesha.pid {% if containerized_deployment | bool %} DOCKER_EXEC="{{ container_binary }} exec ceph-nfs-{{ ceph_nfs_service_suffix | default(ansible_facts['hostname']) }}" {% endif %}