• no daemon and syslog

    From Clifra Jones@VERT/DOOBBS to Ragnarok on Wednesday, August 29, 2018 17:06:00
    Hi all!

    i'm running sbbs service on systemd at tty11 on debian jessie:

    root@scarlet:~# cat /etc/systemd/system/sbbs.service
    [Unit]
    Description=Synchronet BBS
    Documentation=man:sbbs
    After=network.target

    [Service]
    Restart=on-failure
    EnvironmentFile=-/etc/default/sbbs
    ExecStart=/sbbs/exec/sbbs nd
    ExecReload=/bin/kill -HUP $MAINPID
    User=root
    Group=root
    StandardInput=tty
    StandardOutput=tty
    TTYPath=/dev/tty11

    [Install]
    WantedBy=multi-user.target

    i use "sbbs nd" to start the process (no daemon) and send it to tty.
    i search if possible to also send the output to syslog as when not use
    the "nd" switch.

    ---
    � Synchronet � Dock Sud BBS TLD 24 HS - http://www.docksud.com.ar - telnet://bbs.docksud.com.ar



    Most of what your going to want to see is in the systemd journal. To view the journal:
    sudo journactl -u sbbs

    To wrap the lines on your terminal
    sudo journalctl -u sbbs | less

    To see all journal entries for today (24 hours actually)
    sudo journalctl -u sbbs --since "1 day ago" | less

    To actively monitor the BBS
    sudo journalctl -u sbbs -f
    (ctrl-c to exit)

    Clifra Jones
    Sysop, Days of Old BBS
    Hostname: daysofoldbbs.wilhartsolutions.com
    Protocols: Telnet, SSH (2222), HTTP

    ---
    Synchronet Days of Old BBS Telnet/SSH(2222)/Web daysofoldbbs.wilhartsolutions.com
  • From Ragnarok@VERT/DOCKSUD to Clifra Jones on Wednesday, August 29, 2018 22:38:00
    El 29/08/18 a las 11:06, Clifra Jones escribi:
    Hi all!

    i'm running sbbs service on systemd at tty11 on debian jessie:

    root@scarlet:~# cat /etc/systemd/system/sbbs.service
    [Unit]
    Description=Synchronet BBS
    Documentation=man:sbbs
    After=network.target

    [Service]
    Restart=on-failure
    EnvironmentFile=-/etc/default/sbbs
    ExecStart=/sbbs/exec/sbbs nd
    ExecReload=/bin/kill -HUP $MAINPID
    User=root
    Group=root
    StandardInput=tty
    StandardOutput=tty
    TTYPath=/dev/tty11

    [Install]
    WantedBy=multi-user.target

    i use "sbbs nd" to start the process (no daemon) and send it to tty.
    i search if possible to also send the output to syslog as when not use
    the "nd" switch.

    ---
    � Synchronet � Dock Sud BBS TLD 24 HS - http://www.docksud.com.ar -
    telnet://bbs.docksud.com.ar



    Most of what your going to want to see is in the systemd journal. To view the journal:
    sudo journactl -u sbbs

    To wrap the lines on your terminal
    sudo journalctl -u sbbs | less

    To see all journal entries for today (24 hours actually)
    sudo journalctl -u sbbs --since "1 day ago" | less

    To actively monitor the BBS
    sudo journalctl -u sbbs -f
    (ctrl-c to exit)

    Clifra Jones
    Sysop, Days of Old BBS
    Hostname: daysofoldbbs.wilhartsolutions.com
    Protocols: Telnet, SSH (2222), HTTP

    ---
    Synchronet Days of Old BBS Telnet/SSH(2222)/Web daysofoldbbs.wilhartsolutions.com

    good tips! thanks!

    ---
    Synchronet Dock Sud BBS TLD 24 HS - http://bbs.docksud.com.ar - telnet://bbs.docksud.com.ar