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 <gabrioux@redhat.com>
pull/7216/head
Guillaume Abrioux 2022-06-17 09:51:56 +02:00
parent 3614bcacff
commit 3ad0d95643
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
RETRIES="{{ handler_health_nfs_check_retries }}" RETRIES="{{ handler_health_nfs_check_retries }}"
DELAY="{{ handler_health_nfs_check_delay }}" DELAY="{{ handler_health_nfs_check_delay }}"
NFS_NAME="ceph-nfs@{{ ceph_nfs_service_suffix | default(ansible_facts['hostname']) }}" 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 %} {% if containerized_deployment | bool %}
DOCKER_EXEC="{{ container_binary }} exec ceph-nfs-{{ ceph_nfs_service_suffix | default(ansible_facts['hostname']) }}" DOCKER_EXEC="{{ container_binary }} exec ceph-nfs-{{ ceph_nfs_service_suffix | default(ansible_facts['hostname']) }}"
{% endif %} {% endif %}