Name

ocf:proftpd — OCF Resource Agent compliant FTP script.

Synopsis

[OCF_RESKEY_binary=string] [OCF_RESKEY_conffile=string] [OCF_RESKEY_pidfile=string] [OCF_RESKEY_curl_binary=string] [OCF_RESKEY_curl_url=string] [OCF_RESKEY_test_user=string] [OCF_RESKEY_test_pass=string] proftpd [start | stop | monitor | monitor | validate-all | meta-data]

Description

This script manages Proftpd in an Active-Passive setup

Supported Parameters

OCF_RESKEY_binary=The Proftpd binary

The Proftpd binary

OCF_RESKEY_conffile=Configuration file name with full path

The Proftpd configuration file name with full path. For example, "/etc/proftpd.conf"

OCF_RESKEY_pidfile=PID file

The Proftpd PID file. The location of the PID file is configured in the Proftpd configuration file.

OCF_RESKEY_curl_binary=The absolut path to the curl binary

The absolut path to the curl binary for monitoring with OCF_CHECK_LEVEL greater zero.

OCF_RESKEY_curl_url=The URL which is checked by curl

The URL which is checked by curl with OCF_CHECK_LEVEL greater zero.

OCF_RESKEY_test_user=The name of the ftp user

The name of the ftp user for monitoring with OCF_CHECK_LEVEL greater zero.

OCF_RESKEY_test_pass=The password of the ftp user

The password of the ftp user for monitoring with OCF_CHECK_LEVEL greater zero.