Gridinit is a tool used to manage non-daemon processes.
- A toolchain made of cmake, make, pkg-config, gcc or clang
- The GNome Library
- Martin Sustrik's libdill
Building gridinit
is configured by cmake
, done by make
and requires
that libdill
is installed ans its installation paths are configured with
pkg-config
.
cmake -D GRIDINIT_SOCK_PATH=/tmp/gridinit.sock .
make
But libdill
is rarely available in mainstream Linux distributions, so here
are the build instructions to build it from the git submodule
:
git submodule update --init --recursive
cd vendor/libdill
./autogen.sh
./configure --prefix=/usr --enable-shared --disable-static --enable-tls --enable-threads
make
sudo make install
Macro | Default | Description |
---|---|---|
GRIDINIT_SOCK_PATH | /var/run/gridinit.sock | Path used for the socket on both server and client side, when no path is specified in the configuration. |
./gridinit -d ./gridinit.conf
./gridinit_cmd status
./gridinit_cmd status2
./gridinit_cmd status3
./gridinit_cmd status @NS0
./gridinit_cmd status @NS1
./gridinit_cmd status @local
./gridinit_cmd status @local @NS1 @NS0
./gridinit_cmd stop
./gridinit_cmd start