Turns out I also had a binkd problem -- when running via cron, I needed full paths. Once I echo'd to logs I found why I wasn't getting mail:
One thing to keep in mind when starting/running anything with cron is
that the environment is *VERY* minimal. There is no path in the
environment so you always have to use a full path to the executibles
you want to run.
In my cron script that starts binkd and the BBS it sets the
environment from /etc/profile.
. /etc/profile
Oh, so you are running that a command in crontab, or as part of an .sh file that launches the BBS and binkd?
Oh, so you are running that a command in crontab, or as part of an
.sh file that launches the BBS and binkd?
It's a .sh file I run from cron like this..
@reboot /usr/local/bin/start-binkd.sh
@reboot /usr/local/bin/start-binkd.sh
If you are running mainstream Linux, is there a reason to not use systemd?
If you are running mainstream Linux, is there a reason to not use
systemd?
I use systemd for binkd, but also requires me to CHOWN the /var/run/pid file on reboot.
| Sysop: | CyberNix |
|---|---|
| Location: | London, UK |
| Users: | 22 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 83:11:19 |
| Calls: | 911 |
| Files: | 5,127 |
| D/L today: |
6 files (3,501K bytes) |
| Messages: | 761,825 |