Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
service:ircd [2021/01/11 17:05] – [Using JSexec with systemd] type=simple is wrong for daemonized program (sbbs -d) digital man | service: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 20: | Line 20: | ||
In short, this document assumes that you know: | In short, this document assumes that you know: | ||
- | * How to use your computer and operating system effectively. | + | |
- | * The basics of IRC and its terminology. | + | * The basics of IRC and its terminology. |
- | * How to use, configure, and make basic modifications to Synchronet. | + | * How to use, configure, and make basic modifications to Synchronet. |
- | * The basics of the Internet (or at least the ability to visualize a routed, distributed network) | + | * The basics of the Internet (or at least the ability to visualize a routed, distributed network) |
====== Installation ====== | ====== Installation ====== | ||
Line 89: | Line 89: | ||
assigned, and the server will never echo your QWK password back to you, so it chooses to echo a ' | assigned, and the server will never echo your QWK password back to you, so it chooses to echo a ' | ||
- | (4) Restart your BBS (or, if you know how to become an IRC operator, simply use the /REHASH command), and you should see a message similar to the following in your Synchronet console: | + | (4) If you know how to become an IRC operator, simply use the /REHASH command. If not, you can try **touch / |
< | < | ||
Line 116: | Line 116: | ||
====== Using JSexec with systemd ====== | ====== Using JSexec with systemd ====== | ||
- | Create a file / | + | A sample '' |
- | < | + | |
- | [Unit] | + | |
- | Description=Synchronet BBS IRCD | + | |
- | After=syslog.target network.target | + | |
- | + | ||
- | [Service] | + | |
- | Type=forking | + | |
- | Environment=SBBSROOT=/ | + | |
- | User=sbbs | + | |
- | Group=sbbs | + | |
- | StandardOutput=file:/ | + | |
- | StandardError=file:/ | + | |
- | ExecStart=/ | + | |
- | + | ||
- | [Install] | + | |
- | WantedBy=default.target | + | |
- | </code> | + | |
- | + | ||
- | Or for logging using syslog: | + | |
- | < | + | |
- | [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/ | + | |
- | + | ||
- | [Install] | + | |
- | WantedBy=default.target | + | |
- | </ | + | |
Then run: | Then run: |