From: John Mulligan Date: Mon, 10 Nov 2025 21:15:29 +0000 (-0500) Subject: cephadm: add pid file directory option to cfg watch sidecar X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7a9483b59a75d3321c37fa933f044c4ead297145;p=ceph.git cephadm: add pid file directory option to cfg watch sidecar 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 --- diff --git a/src/cephadm/cephadmlib/daemons/smb.py b/src/cephadm/cephadmlib/daemons/smb.py index 2ded1de97320..0ebb37653d6a 100644 --- a/src/cephadm/cephadmlib/daemons/smb.py +++ b/src/cephadm/cephadmlib/daemons/smb.py @@ -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):