1
0
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:
Bram Matthys
2019-10-26 18:55:26 +02:00
parent 52c8ef3815
commit fb8055c6ef
6 changed files with 50 additions and 15 deletions
+2
View File
@@ -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