Re: Executables for Docker
By: Digital Man to Deon on Tue Oct 16 2018 06:51 pm
DM> Re: Executables for Docker
DM> By: Deon to Digital Man on Wed Oct 17 2018 01:30 am
>> OK, this is problematic. I found references to SBBSEXEC on th wiki
>> but it doesnt seem to do anything.
DM> 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'?
DM> I don't think there's any behavior that needs to change, but if you do,
DM> please elaborate.
Here is what I'm trying to do. The "Application" can live anywhere - I'm
choosing to install it in /opt/sbbs (so it is from /opt/sbbs, I run the make
install after downloading the makefile from here).
Once the build is complete, in /opt/sbbs I have the sbbs "application" files in
/opt/sbbs/exec (and standard web pages in ./web, doors in ./xtrn).. Everything
else in /opt/sbbs is considered "configuration" (how SBBS works) or "data"
(message, files, menus, etc)... I want to move those files to be under
/opt/sbbs/data/{node1,node2,ctrl,text,mods...}.
I set SBBSCTRL to /opt/sbbs/data/ctrl, and with PATH set to /opt/sbbs/exec
"scfg" works no problems. However, when I start sbbs /opt/sbbs/exec/sbbs, it
starts looking for stuff in /opt/sbbs/data/exec. Now the kludge fix would be to
symlink that back, but I would rather fix it properly. (I have executables
looked for in /opt/sbbs/exec.) I thought SBBSEXEC would enable that but it
appears to not be effective.
Does this make sense?
...deon
---
þ Synchronet þ Linucus SBBS | BBS in Docker on Pi!
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
|