Differences
This shows you the differences between two versions of the page.
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 mlong | service: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 / | + | Create a file / |
< | < | ||
[Unit] | [Unit] | ||
Line 134: | Line 134: | ||
WantedBy=default.target | 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: | Then run: |