cpwd_admin start

Description

Starts a process as monitored by the WatchDog.

Syntax

cpwd_admin start -name <Application Name> -path "<Full Path to Executable>" -command "<Command Syntax>" [-env {inherit | <Env_Var>=<Value>] [-slp_timeout <Timeout>] [-retry_limit {<Limit> | u}]

Parameters

Parameter

Description

-name <Application Name>

Name, under which the cpwd_admin list command shows the monitored process in the leftmost column APP.

Example:

SFWD

-path "<Full Path to Executable>"

The full path (with or without Check Point environment variables) to the executable including the executable name.

Must enclose in double-quotes.

Example for the DropBear:

"dropbear -F -j -k -p 22 -r /pfrm2.0/etc/dropbear_rsa_host_key -b /opt/fw1/conf/sshd_banner.txt"

-command "<Command Syntax>"

The command and its arguments to run.

Must enclose in double-quotes.

Example for the SFWD:

"sfwd"

-env {inherit | <Env_Var>=<Value>}

Configures whether to inherit the environment variables from the shell.

  • inherit - Inherits all the environment variables (WatchDog supports up to 80 environment variables)

  • <Env_Var>=<Value> - Assigns the specified value to the specified environment variable

-slp_timeout <Timeout>

Configures the specified value of the "sleep_timeout" configuration parameter.

See cpwd_admin config.

-retry_limit {<Limit> | u}

Configures the value of the "retry_limit" configuration parameter.

See cpwd_admin config.

  • <Limit> - Tries to restart the process the specified number of times

  • u - Tries to restart the process unlimited number of times

Example

For the list of process and the applicable syntax, see sk97638.