Skip to content
Snippets Groups Projects
Commit 605eb392 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

A sample systemd unit file that can be used to run ircd via jsexec

I'm using this on cvs.synchro.net along with an override.conf file in
/etc/systemd/system/ircd.service.d/

[Service]
ExecStart=
ExecStart=/sbbs/exec/jsexec -A -L7 -hcvs.synchro.net ircd.js -a cvs.synchro.net
LimitCORE=infinity
parent 19408953
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
# Synchronet IRCd startup file
# Only for use when you want the ircd.js to run via jsexec, separate from sbbs
# You should have the ircd service *disabled* in your sbbs/ctrl/services.ini
[Unit]
Description=Synchronet IRC service
After=network-online.target
[Service]
Type=simple
Environment=SBBSCTRL=/sbbs/ctrl
User=sbbs
Group=sbbs
PermissionsStartOnly=true
AmbientCapabilities=CAP_NET_BIND_SERVICE
ExecStart=/sbbs/exec/jsexec -A -L7 ircd.js
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure
RestartSec=30
LimitNOFILE=10000
[Install]
WantedBy=multi-user.target
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment