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/11/13 21:25] – [Using JSexec to run the IRCd] with systemd mlong | service:ircd [2020/11/13 22:12] – [Using JSexec with systemd] A includes S mlong | ||
---|---|---|---|
Line 116: | Line 116: | ||
====== Using JSexec with systemd ====== | ====== Using JSexec with systemd ====== | ||
- | Create a file / | + | Create a file / |
< | < | ||
[Unit] | [Unit] | ||
Line 129: | Line 129: | ||
StandardOutput=file:/ | StandardOutput=file:/ | ||
StandardError=file:/ | StandardError=file:/ | ||
- | ExecStart=/ | + | ExecStart=/ |
[Install] | [Install] | ||
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: |