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.
Re: no daemon and syslog
By: Ragnarok to DOVE-Net.Synchronet_Programming_C+ on Invalid Time
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.
I just commited a change to sbbscon.c to allow you to do this. Just add "syslog" to your sbbs command-line (e.g. "sbbs nd syslog"). Let me know how that works for ya. We could add an option to the [Unix] section of the sbbs.ini
file too if you prefer.
digital man
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
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
Sysop: | MCMLXXIX |
---|---|
Location: | Prospect, CT |
Users: | 325 |
Nodes: | 10 (0 / 10) |
Uptime: | 31:35:50 |
Calls: | 508 |
Messages: | 220012 |