Synchronet v3.19b-Win32 (install) has been released (Jan-2022).

You can donate to the Synchronet project using PayPal.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
service:ircd [2023/02/27 00:18] – [Linking to the Synchronet IRC Network (irc.synchro.net)] Added touch to recycle ircd nelginservice:ircd [2023/09/09 10:40] (current) – [Using JSexec with systemd] Refer to the ircd.service file from the Git repo instead of copy/pasting stale example here digital man
Line 116: Line 116:
 ====== Using JSexec with systemd ====== ====== Using JSexec with systemd ======
  
-Create a file /etc/systemd/system/ircd.service containing (for logging to logfile): +A sample ''ircd.service'' file for starting/managing JSexec-invoked ircd.js instance is provided [[https://gitlab.synchro.net/main/sbbs/-/blob/master/install/systemd/ircd.service|in the Synchronet Git repository]].
-<code> +
-[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=file:/sbbs/data/logs/ircd.log +
-  StandardError=file:/sbbs/data/logs/ircd.err +
-  ExecStart=/sbbs/exec/jsexec -A -l /sbbs/exec/ircd.js +
- +
-[Install] +
-  WantedBy=default.target +
-</code> +
- +
-Or for logging using syslog: +
-<code> +
-[Unit] +
-  Description=Synchronet BBS IRCD +
-  After=syslog.target network.target +
- +
-[Service] +
-  Type=forking +
-  Environment=SBBSROOT=/sbbs SBBSCTRL=/sbbs/ctrl SBBSEXEC=/sbbs/exec/ +
-  User=sbbs +
-  Group=sbbs +
-  ExecStart=/sbbs/exec/jsexec -d -l /sbbs/exec/ircd.js +
- +
-[Install] +
-  WantedBy=default.target +
-</code> +
  
 Then run: Then run: