Menu

rcstaggerd

KShots

Synopsis

rcstaggerd [-c config_file] [-f] [-p pid_file] [-u user] [-g group]

rcstaggerd -h

rcstaggerd -v

Description

rcstaggerd is a daemon that runs in userspace to monitor and control other services. It will send notifications to remote peers whenever a service changes its state, and it will start and stop services as appropriate in response to peer notifications of their local service states. In other words, if you have a service that you don't want to start until a peer provides an "sql" service, then this is for you.

rcstaggerd uses openssl for authentication - nobody is going to control your services unless they have the proper keys to do so.

Arguments

Argument Flag Long Option Description
-c --config Path to the configuration file to use
-f --foreground Run rcstaggerd in the foreground
-p --pid Path to the PID file to use
-u --user User to drop privileges to
-g --group Group to drop privileges to
-h --help Print help and exit
-v --version Print version and exit

Examples

The below command runs rcstaggerd as a daemon with current user and group privileges using the config file compiled in as a default (defaults to /etc/rcstaggerd.conf), and storing its PID in the compiled in default location (defaults to /var/run/rcstaggerd.pid):

rcstaggerd

The below command runs rcstaggerd in the foreground as user sysadmin using a config file located in /etc/sysadmin/rcstaggerd.conf, and storing its pid in /tmp/rcstaggerd.pid:

rcstaggerd -fc /etc/sysadmin/rcstaggerd.conf -p /tmp/rcstaggerd.pid

See Also


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.