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)
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?
| Sysop: | Gate Keeper |
|---|---|
| Location: | Shelby, NC |
| Users: | 971 |
| Nodes: | 20 (0 / 20) |
| Uptime: | 497129:46:57 |
| Calls: | 16,106 |
| Calls today: | 13 |
| Files: | 5,370 |
| D/L today: |
35 files (8,192P bytes) |
| Messages: | 687,442 |
| Posted today: | 4 |