From Newsgroup: alt.bbs.synchronet
To: Digital Man
Re: Node dir
By: Digital Man to deon on Sun Nov 22 2020 01:21 pm
Howdy,
How is the "first" main.cnf created?
Not sure I follow. A sysop should always start with the main.cnf from the source repo.
Is there a way it can be "recreated" programmatically?
I'm trying to build my docker container so that the "nodes" points to /opt/sbbs/nodes/xxx, not /opt/sbbs/nodesX/.
Sure, I get after the image starts, I can personalise the configuration (that is then stored in the persistent store), so that future invocations of the container (with that config) points to /opt/sbbs/nodes/, but I'm trying to improve the first start for a new environment by reducing the number of steps that need to be done (that really should be done programmatically).
I could add my customised main.cnf to the image (with the right path) - but then if you make any upstream changes to main.cnf, I'd have to remember to rebuild my customised one.
I can work around it, but looking for a less manual path.
...ëîåï
... Free the indianapolis 500.
---
þ Synchronet þ Alterant | an SBBS in Docker on Pi!
--- Synchronet 3.18c-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California -
telnet://vert.synchro.net
--- Synchronet 3.19c-Linux NewsLink 1.113