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
Next revisionBoth sides next revision
service:ircd [2020/11/13 21:25] – [Using JSexec to run the IRCd] with systemd mlongservice:ircd [2020/11/13 21:30] – [Using JSexec with systemd] syslog mlong
Line 116: Line 116:
 ====== Using JSexec with systemd ====== ====== Using JSexec with systemd ======
  
-Create a file /etc/systemd/system/ircd.service containing:+Create a file /etc/systemd/system/ircd.service containing (for logging to a logfile):
 <code> <code>
 [Unit] [Unit]
Line 134: Line 134:
   WantedBy=default.target   WantedBy=default.target
 </code> </code>
 +
 +Or for logging using syslog:
 +<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
 +  ExecStart=/sbbs/exec/jsexec -d -l /sbbs/exec/ircd.js
 +
 +[Install]
 +  WantedBy=default.target
 +</code>
 +
  
 Then run: Then run: