This is a collection of scripts that I use for my Talisman BBS.
Some may be generic for Linux telnet BBSes, and others might be useful with minor tweaking.
These scripts are offered for free for your use and abuse, and no warranty is expressed or implied.
Pre-requisites:
- inotify-tools
inotify-tools are used because as of writing, Talisman's event handler is still in its infancy
I use an include file called "inc.bbsConfig" for commonly used variables and functions.
It's possible to run all the services as your own BBS user rather than root. To do so, copy the .service files into .config/systemd/user inside your BBS's home directory.
As root, run the command: loginctl enable-linger bbsUserName
Now you can run systemctl from your BBS user account.
Note that you now need to call systemctl with systemctl --user.
To enable the services:
- systemctl --user enable bbs
- systemctl --user enable binkd
- systemctl --user enable bbs-filewatch
- systemctl --user enable bbs-semwatch
They can be started, restarted, stopped, and status'd as normal with the --user switch on systemctl.
This was needed so that I could restart the sem- and file-watch services as the BBS user after a logrotate (which also runs as the BBS user).
by Spiro Harvey, aka JOE DOOM
Contact me at:
BBS: lostunderground.org
fsxNet: 21:1/230
HAPPYNet: 637:1/113