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: | altere |
|---|---|
| Location: | Houston, TX |
| Users: | 71 |
| Nodes: | 4 (0 / 4) |
| Uptime: | 06:37:51 |
| Calls: | 1,665 |
| Calls today: | 6 |
| Files: | 8,804 |
| D/L today: |
42 files (492K bytes) |
| Messages: | 309,879 |