]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: add pid file directory option to cfg watch sidecar
authorJohn Mulligan <jmulligan@redhat.com>
Mon, 10 Nov 2025 21:15:29 +0000 (16:15 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 25 Mar 2026 14:22:46 +0000 (10:22 -0400)
This will enable the config watch sidecar to signal processes
with a SIGHUP to tell them to reload configuration when config
watch has detected a configuration change. Currently only used
by keybridge.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/cephadm/cephadmlib/daemons/smb.py

index 2ded1de973209e5f55196c1f7c9e14b11027ad88..0ebb37653d6ab74cd219795fa9ef4ebf9025b130 100644 (file)
@@ -444,7 +444,11 @@ class ConfigWatchContainer(SambaContainerCommon):
         return 'configwatch'
 
     def args(self) -> List[str]:
-        return super().args() + ['update-config', '--watch']
+        return super().args() + [
+            'update-config',
+            '--watch',
+            f'--signal-pids-dir={_WANT_SIGNAL_DIR}',
+        ]
 
 
 class SMBMetricsContainer(ContainerCommon):