From Newsgroup: alt.bbs.synchronet
To: digital man
Re: [wiki.synchro.net] page changed: service:ircd
By: digital man to wiki.synchro.net on Mon Jan 11 2021 05:05 pm
Wiki edit of http://wiki.synchro.net/service:ircd by digital man:
[Using JSexec with systemd] type=simple is wrong for daemonized program (sbbs -d)
You can also be a little creative this way too:
[Unit]
Description=Synchronet BBS IRCD
After=syslog.target network.target
[Service]
Type=simple
Environment=SBBSROOT=/sbbs SBBSCTRL=/sbbs/ctrl SBBSEXEC=/sbbs/exec/
User=sbbs
Group=sbbs
StandardOutput=syslog
StandardError=inherit
SyslogIdentifier=sbbs-ircd
SyslogFacility=local4
ExecStart=/sbbs/exec/jsexec -A -l /sbbs/exec/ircd.js
[Install]
WantedBy=default.target
Explain why you think Type=forking is appropriate. Does jsexec -A -I daemonize the process? The switches indicate that all logging should go to stdout and to continue looping until terminated.
Dream Master
---
þ Synchronet þ Caught in a Dream - Coming Soon!
--- Synchronet 3.18c-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California -
telnet://vert.synchro.net
--- Synchronet 3.19c-Linux NewsLink 1.113