TIP: Click on subject to list as thread! ANSI
echo: synchronet
to: DEON
from: DIGITAL MAN
date: 2018-10-16 18:58:00
subject: Executables for Docker

  Re: Executables for Docker
  By: Deon to Digital Man on Wed Oct 17 2018 01:30 am

 >   Re: Executables for Docker
 >   By: Digital Man to Deon on Tue Oct 16 2018 12:12 pm
 >
 >  DM> Right. The "mods" directory is where modified (or sysop-generated) .js
 >  DM> and .src/bin files should be placed. That said, I think a lot of sysops
 >  DM> modify the files in exec directly.
 >
 > OK, good, Docker can accommodate that scenario. So are things searched for
 > in the mods dir first, before being attempted in the exec dir?

Yes, when .js scripts and .bin modules are executed the mods (or mods/load) are
searched first.

 >  DM> No, SBBSCTRL needs to point to the "ctrl" directory.
 >
 > Ahh, you are correct, I have it pointing to /opt/sbbs/data/ctrl

That seems wrong. If you have sbbs installed in /opt/sbbs, then the SBBSCTRL
env var would normally be set to /opt/sbbs/ctrl.

 >  DM> Everything (configuration, data, and executable files) is found based
 >  DM> on the SBBSCTRL path.
 >
 > OK, this is problematic. I found references to SBBSEXEC on th wiki  but it
 > doesnt seem to do anything.

It is optional and usually not necessary.

 > IE: I build with SBBSEXEC set, and I run with it
 > set (it points to /opt/sbbs/exec), however, I see in the logs it is look for
 > everything in /opt/sbbs/data/exec - which I guess is calculated from
 > '$SBBSCTRL/../exec'?
 >
 > Is it easy to change that behaviour?

I don't think there's any behavior that needs to change, but if you do, please
elaborate.

                                            digital man

Synchronet "Real Fact" #50:
JAM and Squish were considered before developing Synchronet Message Base
format.
Norco, CA WX: 74.3øF, 10.0% humidity, 1 mph S wind, 0.00 inches rain/24hrs
--- SBBSecho 3.06-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.