Closed GabLeRoux closed 10 years ago
Hi, You can pass a config file from the CLI with the "-f" parameter, as shown when you run ircd.js with the "-h" parameter.
I'm closing this pull request. Thanks for taking the time to submit anyway and the best of luck
with your event.
Sebastian.
Oh thanks, I don't know how I missed this, my bad. :+1:
I'm working on some kind of dashboard and I want it to autostart ircd.js when launching the dashboard. I couldn't find a way to pass a config file when launching ircdjs from another node script (and I want to version that config file on the project; this is going to be a local irc server for a weekend event).
It'd be nice to have a way to load a local file in
LoadConfig
function, ex:Or is there a way to pass a config file by parameter?