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.
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?
Sysop: | Gary Ailes |
---|---|
Location: | Pittsburgh, PA |
Users: | 132 |
Nodes: | 5 (0 / 5) |
Uptime: | 195:33:22 |
Calls: | 733 |
Files: | 2,171 |
Messages: | 81,868 |