Post by Chris Iverson on Feb 27, 2019 11:20:09 GMT -5
I'd rather you not. I don't really mind if you do, but both of those are just demos that come with Run BASIC, and I can't provide any guarantee of uptime on that site. (The site itself will most likely remain up, but the question of RB is "will I bother to/remember to restart it?" When I restart the server, since it doesn't run as a service, and doesn't autostart on boot.)
The same demos are available to anyone who downloads the RB trial, and I'm pretty sure they're available at the RB website as one of its examples.
Maybe there's a way to use a bash .sh file and a command line parameter to automatically start the server?
I actually already have a shell script that starts RB, needed because 1) starting RBP when the current directory is anything other than RBP's install directory causes weird issues, so you have to CD to the RBP dir first, and 2) because I run it on a server that doesn't actually have a display manager installed. (My local server does, though I don't really use it; IIRC, my server hosted in AWS doesn't have it installed). I run it under Xvfb(X Virtual Frame Buffer) so that it starts up fine without needing a display installed.
I just need to stop being lazy and convert it to a sysvinit script or a systemd service script. That way it can be properly managed by the service/daemon manager.