Debian Codegraph @

ctdb/utils/pmda/Install

raw
1 #! /bin/sh
2 #
3 # Copyright (c) 1997 Silicon Graphics, Inc. All Rights Reserved.
4 #
5 # This program is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License as published by the
7 # Free Software Foundation; either version 2 of the License, or (at your
8 # option) any later version.
9 #
10 # This program is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 # for more details.
14 #
15 # You should have received a copy of the GNU General Public License along
16 # with this program; if not, see <https://www.gnu.org/licenses/>.
17 #
18 # Install the ctdb PMDA and/or PMNS
19 #
20
21 . $PCP_DIR/etc/pcp.env
22 . $PCP_SHARE_DIR/lib/pmdaproc.sh
23
24 iam=ctdb
25 pmda_interface=2
26
27 # runs as daemon and only supports pipe IPC
28 daemon_opt=true
29 dso_opt=false
30 pipe_opt=true
31 socket_opt=false
32
33 pmdaSetup
34 pmdaInstall
35 exit 0