• Syncrhonet on Freebsd 13..

    From Dredster@1:103/705 to All on Friday, August 04, 2023 13:02:04
    I've been messing around with Synchronet on a Freebsd 13.2 the last few days.. Finally got it set up and running, (I think), but one thing that did bother me was the the startup script for /usr/local/etc/rc.d/ didn't actually create the pid file properly..

    So after a bit of messing with it, I managed to get it to write by changing the startup script a tad..

    By adding "echo `ps aux | grep "/sbbs/exec/sbbs d" | grep -v grep | cut -d " " -f 5` > /sbbs/sbbs.pid" at the very end of the script, and by setting the pid file location to the sbbs root, it finally works as expected..

    Just tossing that out there for anyone who may be scratching their head about it.. I'll admit, I'm not great at scripting.. I've forgotten soo many things over the years.. but at least I make an effort..

    Dred.

    ---
    þ Synchronet þ The Caverns BBS - Back from the way back when days..
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Dredster on Friday, August 04, 2023 12:23:51
    Re: Syncrhonet on Freebsd 13..
    By: Dredster to All on Fri Aug 04 2023 01:02 pm

    I've been messing around with Synchronet on a Freebsd 13.2 the last few days.. Finally got it set up and running, (I think), but one thing that did bother me was the the startup script for /usr/local/etc/rc.d/ didn't actually create the pid file properly..

    So after a bit of messing with it, I managed to get it to write by changing the startup script a tad..

    By adding "echo `ps aux | grep "/sbbs/exec/sbbs d" | grep -v grep | cut -d " " -f 5` > /sbbs/sbbs.pid" at the very end of the script, and by setting the pid file location to the sbbs root, it finally works as expected..

    Just tossing that out there for anyone who may be scratching their head about it.. I'll admit, I'm not great at scripting.. I've forgotten soo many things over the years.. but at least I make an effort..

    sbbs itself can/will also create a pid file itself, by default it's ctrl/sbbs.pid, but you can configure the path/name with the PidFile key in the [UNIX] section of ctrl/sbbs.ini.
    --
    digital man (rob)

    Sling Blade quote #11:
    Doyle Hargraves (to Karl): What in the hell you doin' with that hammer?
    Norco, CA WX: 81.2øF, 49.0% humidity, 5 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Dredster@1:103/705 to Digital Man on Friday, August 04, 2023 20:33:22
    Re: Syncrhonet on Freebsd 13..
    By: Digital Man to Dredster on Fri Aug 04 2023 12:23 pm

    Re: Syncrhonet on Freebsd 13..
    By: Dredster to All on Fri Aug 04 2023 01:02 pm

    I've been messing around with Synchronet on a Freebsd 13.2 the last few days.. Finally got it set up and running, (I think), but one thing that did bother me was the the startup
    script for /usr/local/etc/rc.d/ didn't actually create the pid file properly..

    So after a bit of messing with it, I managed to get it to write by changing the startup script a tad..

    By adding "echo `ps aux | grep "/sbbs/exec/sbbs d" | grep -v grep | cut -d " " -f 5` > /sbbs/sbbs.pid" at the very end of the script, and by setting the pid file location to the
    sbbs
    root, it finally works as expected..

    Just tossing that out there for anyone who may be scratching their head about it.. I'll admit, I'm not great at scripting.. I've forgotten soo many things over the years.. but at
    least I make an effort..

    sbbs itself can/will also create a pid file itself, by default it's ctrl/sbbs.pid, but you can configure the path/name with the PidFile key in the [UNIX] section of ctrl/sbbs.ini.


    That's good to know! Thanks :)

    Dred

    ---
    þ Synchronet þ The Caverns BBS - No matter where you go, there you are...
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)