Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
service:ircd [2020/03/04 11:57] – nelgin | service:ircd [2020/11/13 21:30] – [Using JSexec with systemd] syslog mlong | ||
---|---|---|---|
Line 114: | Line 114: | ||
The above command is typed from within the Synchronet ' | The above command is typed from within the Synchronet ' | ||
+ | ====== Using JSexec with systemd ====== | ||
+ | |||
+ | Create a file / | ||
+ | < | ||
+ | [Unit] | ||
+ | Description=Synchronet BBS IRCD | ||
+ | After=syslog.target network.target | ||
+ | |||
+ | [Service] | ||
+ | Type=simple | ||
+ | Environment=SBBSROOT=/ | ||
+ | User=sbbs | ||
+ | Group=sbbs | ||
+ | StandardOutput=file:/ | ||
+ | StandardError=file:/ | ||
+ | ExecStart=/ | ||
+ | |||
+ | [Install] | ||
+ | WantedBy=default.target | ||
+ | </ | ||
+ | |||
+ | Or for logging using syslog: | ||
+ | < | ||
+ | [Unit] | ||
+ | Description=Synchronet BBS IRCD | ||
+ | After=syslog.target network.target | ||
+ | |||
+ | [Service] | ||
+ | Type=simple | ||
+ | Environment=SBBSROOT=/ | ||
+ | User=sbbs | ||
+ | Group=sbbs | ||
+ | ExecStart=/ | ||
+ | |||
+ | [Install] | ||
+ | WantedBy=default.target | ||
+ | </ | ||
+ | |||
+ | |||
+ | Then run: | ||
+ | systemctl enable ircd | ||
+ | systemctl daemon-reload | ||
+ | systemctl start ircd | ||
====== About the Synchronet IRC Network (irc.synchro.net) ====== | ====== About the Synchronet IRC Network (irc.synchro.net) ====== | ||