View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005219||unreal||ircd||public||2019-03-03 11:50||2019-03-03 11:51|
|Target Version||4.2.3||Fixed in Version|
|Summary||0005219: ./unrealircd configtest|
|Description||It would be nice if UnrealIRCd could do something similar to apache, like "./unrealircd configtest".|
With that, we can also reject an "./unrealircd restart" if configtest fails (preventing a restart that is going to fail anyway).
Also document this and incorporate it in some kind of recommended upgrade procedure.
Coding-wise this would require several changes. In particular temp file cleaning and modules come to mind... calling TEST and POSTCONFTEST should be good. However, we should not call LOAD nor UNLOAD since modules may write some kind of state file which would be inappropriate at this point.
|Additional Information||When upgrading I've always been doing "./unrealircd start" before I kill the old running ircd, but... the bind errors are a bit confusing to users, and... well... this way would be nicer :)|
|Tags||No tags attached.|
|3rd party modules|