• MRC finally!

    From Stephen Atkins@21:2/143 to All on Tue Jun 11 17:32:01 2019
    I got MRC working by the looks of it. While nobody responded to my
    Hellos I at least saw them pop up now. Also /bbses is also working.
    Thanks to Black panther for tell me the right name to download.

    Now. Has anyone setup a systemd startup script for mrc_client? I'm
    having an issue with my script not returning control to a command prompt
    after running it. The start line looks like:

    /mystic/mrc/mrc_client.py mrc.bottomlessabyss.net 5000 >/dev/null 2>&1

    and I'm running at user and group: mystic

    Thanks

    Stephen

    --- Mystic BBS/NNTP v1.12 A39 2018/04/21 (Linux/64)
    * Origin: The Bit Bucket (21:2/143)
  • From Black Panther@21:1/186 to Stephen Atkins on Tue Jun 11 17:50:05 2019
    On 11 Jun 2019, Stephen Atkins said the following...

    I got MRC working by the looks of it. While nobody responded to my Hellos I at least saw them pop up now. Also /bbses is also working. Thanks to Black panther for tell me the right name to download.

    You're welcome. It seems there are some people that will sit idle on there. It's usually best to see if there is any traffic before getting in there.
    I've got the stats MPL running on the main menu, so I can keep an eye on it.

    Now. Has anyone setup a systemd startup script for mrc_client? I'm

    Can't really help you with that, as I just start everything manually... I really need to get something set up to start all the windows needed...


    ---

    Black Panther(RCS)

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: Castle Rock BBS - bbs.castlerockbbs.com (21:1/186)
  • From MeaTLoTioN@21:1/158 to Black Panther on Wed Jun 12 02:01:13 2019
    Now. Has anyone setup a systemd startup script for mrc_client? I'm

    Can't really help you with that, as I just start everything manually... I really need to get something set up to start all the windows needed...

    I have set mine to run on boot, inside a screen session so you can connect to the screen session to see what's going on if you want to see stuff going on...

    At the command line, type "crontab -e" (without the quotes and hit return
    Right under the comments, as the first command after your mystic starts, assuming you start mystic on reboot in the crontab to, add this;

    @reboot screen -dm -S mrc_client /bin/bash -c "cd /mystic/ && ./mrc_client.py mrc.bottomlessabyss.net 50000"

    Save and exit, this will load mrc_client on startup and make it run inside screen.

    To access this screen from the cli once it's running, you can type;

    screen -r mrc_client (and hit return)

    To exit a screen session, hold CTRL and press 'A', then keep holding CTRL and press 'D'. This will disconnect from the screen session while leaving it running.

    If you want any further information, feel free to ping me a message =)

    ---
    |14Best regards,
    |11Ch|03rist|11ia|15n |11a|03ka |11Me|03aTLoT|11io|15N

    |07── |08[|10eml|08] |15ml@erb.pw |07── |08[|10web|08] |15www.erb.pw |07───┐ |07── |08[|09fsx|08] |1521:1/158 |07── |08[|11tqw|08] |151337:1/101 |07┬──┘ |07── |08[|12rtn|08] |1580:774/81 |07─┬ |08[|14fdn|08] |152:250/5 |07───┘
    |07── |08[|10ark|08] |1510:104/2 |07─┘

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: The Quantum Wormhole, Ramsgate, UK. bbs.erb.pw (21:1/158)
  • From MeaTLoTioN@21:1/158 to MeaTLoTioN on Wed Jun 12 02:02:58 2019
    On 11 Jun 2019, MeaTLoTioN said the following...

    Now. Has anyone setup a systemd startup script for mrc_client?

    Can't really help you with that, as I just start everything manually. really need to get something set up to start all the windows needed..

    I have set mine to run on boot, inside a screen session so you can
    connect to the screen session to see what's going on if you want to see stuff going on...

    At the command line, type "crontab -e" (without the quotes and hit return Right under the comments, as the first command after your mystic starts, assuming you start mystic on reboot in the crontab to, add this;

    @reboot screen -dm -S mrc_client /bin/bash -c "cd /mystic/ && ./mrc_client.py mrc.bottomlessabyss.net 50000"
    PORT = 5000 and NOT 50000


    Save and exit, this will load mrc_client on startup and make it run
    inside screen.

    To access this screen from the cli once it's running, you can type;

    screen -r mrc_client (and hit return)

    To exit a screen session, hold CTRL and press 'A', then keep holding
    CTRL and press 'D'. This will disconnect from the screen session while leaving it running.

    If you want any further information, feel free to ping me a message =)


    I pressed '0' too many times, the port should be 5000 and NOT 50000

    ---
    |14Best regards,
    |11Ch|03rist|11ia|15n |11a|03ka |11Me|03aTLoT|11io|15N

    |07── |08[|10eml|08] |15ml@erb.pw |07── |08[|10web|08] |15www.erb.pw |07───┐ |07── |08[|09fsx|08] |1521:1/158 |07── |08[|11tqw|08] |151337:1/101 |07┬──┘ |07── |08[|12rtn|08] |1580:774/81 |07─┬ |08[|14fdn|08] |152:250/5 |07───┘
    |07── |08[|10ark|08] |1510:104/2 |07─┘

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: The Quantum Wormhole, Ramsgate, UK. bbs.erb.pw (21:1/158)
  • From Ernest J Gainey Iii@21:4/157 to Stephen Atkins on Tue Jun 11 21:27:37 2019
    Re: MRC finally!
    By: Stephen Atkins to All on Tue Jun 11 2019 01:32 pm

    Now. Has anyone setup a systemd startup script for mrc_client? I'm
    having an issue with my script not returning control to a command prompt after running it. The start line looks like:

    This is what I use...
    ----

    [Unit]
    Description=Mystic BBS Service - MRC
    After=network.target

    [Service]
    Type=simple

    User=bbs
    PIDFile=/opt/mystic/semaphore/mrc.bsy
    WorkingDirectory=/opt/mystic
    ExecStart=/opt/mystic/mrc_client.py mrc.bottomlessabyss.net 5000

    # Other Restart options: or always, on-abort, etc

    [Install]
    WantedBy=multi-user.target
    --- SBBSecho 3.07-Linux
    * Origin: LostCause Halfway House BBS (21:4/157)
  • From Ernest J Gainey Iii@21:4/157 to MeaTLoTioN on Tue Jun 11 21:28:59 2019
    Re: Re: MRC finally!
    By: MeaTLoTioN to Black Panther on Tue Jun 11 2019 10:01 pm

    At the command line, type "crontab -e" (without the quotes and hit return Right under the comments, as the first command after your mystic starts, assuming you start mystic on reboot in the crontab to, add this;
    @reboot screen -dm -S mrc_client /bin/bash -c "cd /mystic/ && ./mrc_client.py mrc.bottomlessabyss.net 50000"
    Save and exit, this will load mrc_client on startup and make it run inside screen.
    To access this screen from the cli once it's running, you can type;
    screen -r mrc_client (and hit return)
    To exit a screen session, hold CTRL and press 'A', then keep holding CTRL and press 'D'. This will disconnect from the screen session while leaving it running.

    Not a bad idea... ;-)
    --- SBBSecho 3.07-Linux
    * Origin: LostCause Halfway House BBS (21:4/157)
  • From andrei@21:1/124 to Ernest J Gainey Iii on Wed Jun 12 15:47:44 2019
    I have also tried to configure a semaphore in mystic. When I start the MRC client it creates a "mrc" semaphore and after I quit it deletes it.
    The event will run the command to connect to MRC server but mis does not kill the event after I exit MRC client. what am I doing wrong there?

    Also, I haven't had time to wait but when this event is running do all other like sending & pooling work? in order to get incoming messages while I am on chat. I have to test this with another user.

    Andrei
    apernevan.tk BBS, Arad RO
    Web - https://apernevan.tk
    Telnet - telnet://apernevan.tk

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: apernevan.tk BBS | Arad, Romania (21:1/124)
  • From andrei@21:1/124 to MeaTLoTioN on Wed Jun 12 17:53:52 2019
    So I followed your instructions and created a cron job that works perfect now.

    It is much better then the semaphore event I wanted to use.

    Now the client is connected and the chat in the BBS works fine. I also have
    the stats up and running in order to see online users.

    Andrei
    apernevan.tk BBS, Arad RO
    Web - https://apernevan.tk
    Telnet - telnet://apernevan.tk

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: apernevan.tk BBS | Arad, Romania (21:1/124)
  • From MeaTLoTioN@21:1/158 to andrei on Wed Jun 12 16:19:11 2019
    On 12 Jun 2019, andrei said the following...

    So I followed your instructions and created a cron job that works
    perfect now.

    It is much better then the semaphore event I wanted to use.

    Now the client is connected and the chat in the BBS works fine. I also have the stats up and running in order to see online users.


    Great stuff, glad it worked out for you. It seemed to me to be the best approach I could think of when I was setting it up for myself, glad to be
    able to share =)

    ---
    |14Best regards,
    |11Ch|03rist|11ia|15n |11a|03ka |11Me|03aTLoT|11io|15N

    |07── |08[|10eml|08] |15ml@erb.pw |07── |08[|10web|08] |15www.erb.pw |07───┐ |07── |08[|09fsx|08] |1521:1/158 |07── |08[|11tqw|08] |151337:1/101 |07┬──┘ |07── |08[|12rtn|08] |1580:774/81 |07─┬ |08[|14fdn|08] |152:250/5 |07───┘
    |07── |08[|10ark|08] |1510:104/2 |07─┘

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: The Quantum Wormhole, Ramsgate, UK. bbs.erb.pw (21:1/158)