diff options
author | Martin Schwenke <martin@meltin.net> | 2013-05-17 16:42:25 +1000 |
---|---|---|
committer | Amitay Isaacs <amitay@gmail.com> | 2013-05-23 16:18:23 +1000 |
commit | bb39f0a186d091e9ea2b9d7572d87f8313960bb4 (patch) | |
tree | 58d43bd4657abbe4c6add71e5f22bde2aefde640 /ctdb/packaging/RPM | |
parent | 5aeae9744e1bb8c8e715b7c3e052d839d0d09ca5 (diff) | |
download | samba-bb39f0a186d091e9ea2b9d7572d87f8313960bb4.tar.gz samba-bb39f0a186d091e9ea2b9d7572d87f8313960bb4.tar.xz samba-bb39f0a186d091e9ea2b9d7572d87f8313960bb4.zip |
scripts: Rework notify.sh to use notify.d/ directory
This makes it easier to add notification handlers.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit d29e9a420b133088bf23a847c8d1dbce56c25eb0)
Diffstat (limited to 'ctdb/packaging/RPM')
-rw-r--r-- | ctdb/packaging/RPM/ctdb.spec.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ctdb/packaging/RPM/ctdb.spec.in b/ctdb/packaging/RPM/ctdb.spec.in index 83261c5483..910b59acd3 100644 --- a/ctdb/packaging/RPM/ctdb.spec.in +++ b/ctdb/packaging/RPM/ctdb.spec.in @@ -127,6 +127,7 @@ rm -rf $RPM_BUILD_ROOT %config(noreplace) %{_sysconfdir}/ctdb/gcore_trace.sh %config(noreplace) %{_sysconfdir}/ctdb/functions %attr(755,root,root) %{initdir}/ctdb +%attr(755,root,root) %{_sysconfdir}/ctdb/notify.d %{_docdir}/ctdb/README %{_docdir}/ctdb/COPYING @@ -162,6 +163,7 @@ rm -rf $RPM_BUILD_ROOT %config(noreplace) %{_sysconfdir}/ctdb/nfs-rpc-checks.d/40.mountd.check %config(noreplace) %{_sysconfdir}/ctdb/nfs-rpc-checks.d/50.rquotad.check %{_sysconfdir}/ctdb/statd-callout +%{_sysconfdir}/ctdb/notify.d/README %{_sbindir}/ctdbd %{_bindir}/ctdb %{_bindir}/smnotify |