mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-12 17:14:46 +02:00
Add './unrealircd configtest' which tests the configuration but does
not actually start the server. Any warnings and errors are printed only to the console. Suggested in https://bugs.unrealircd.org/view.php?id=5219
This commit is contained in:
@@ -108,6 +108,8 @@ elif [ "$1" = "croncheck" ] ; then
|
||||
# PID file not found or found but stale
|
||||
echo "UnrealIRCd is not running. Starting now..."
|
||||
$0 start
|
||||
elif [ "$1" = "configtest" ] ; then
|
||||
@BINDIR@/unrealircd -c
|
||||
elif [ "$1" = "reloadtls" ] ; then
|
||||
echo "Reloading SSL/TLS certificates"
|
||||
if [ ! -r $PID_FILE ] ; then
|
||||
|
||||
Reference in New Issue
Block a user