]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
handler: update path of pidfile for ganesha
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 17 Jun 2022 07:51:56 +0000 (09:51 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 22 Jun 2022 05:17:32 +0000 (07:17 +0200)
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>
roles/ceph-handler/templates/restart_nfs_daemon.sh.j2

index b8510bd98ac84dfa3608fedbbf7d1ff2c1aed27c..c1571baa4284ebd453e9766435dc46bd71ac9ab2 100644 (file)
@@ -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 %}