exit 1;
}
-#if( $ARGV[0] eq "--debug" ) { $debug = 1; shift; }
-#if( $ARGV[0] eq "--restart" ) { $restart = 1; shift; }
-#if( $ARGV[0] eq "--kill" ) { $kill = 1; shift; }
-#if( $ARGV[0] eq "--nosleep" ) { $nosleep = 1; shift; }
-#if( $ARGV[0] eq "--refresh" ) { $nosleep = 1; shift; }
-
# Initial debugging for preconfiguration debugging
Spong::Log::set_debug_context( 'debuglevel' => $debuglevel );
=head2 Configuration Files
-By default this reads the L<spong.conf> file on startup. You can specify an
+By default this reads the L<spong.conf|spong.conf> file on startup. You can specify an
alternate config file via a command line option and it will read that file
instead. If you change values in the configuration file you will need to
restart this program for those changes to be re-read.
seconds) before checking the status of a service again, the hostname of the
spong server, and the port number that the spong server listens
+=item $SPONGSLEEP{'DEFAULT'}, $SPONGSLEEP{'spong-client'}
+
+This the new method for specifying the $SPONGSLEEP interval for Spong programs.
+If there is not $SPONGSLEEP{} entry for the program, it will use the
+I<$SPONGSLEEP{'DEFAULT'}> value. If no value is then found, B<spong-client>
+fall back to using $SPONGSLEEP.
+
+=item $SPONGTMP
+
+The directory that Spong programs use for temporary store and work files. It
+should be different directory than F</tmp> for operation and securiy reasons.
+
+=item $SPONG_LOG_FILE
+
+If set to I<1>, B<spong-client> will log errors to a log file in I<$SPONGTMP>
+named F<spong-client.log>.
+
+=item $SPONG_LOG_SYSLOG
+
+If set to I<1>, B<spong-client> will log errors to the syslog using the
+I<USER> facility and the B<ERR> priority.
+
=item $CHECKS
A string that has the list of client check modules to run. If I<$CHECKS> is