| 1 |
Created 22/11/2021 by [email protected]. |
| 2 |
|
| 3 |
This directory contains Service Management Facility service files for ergo. |
| 4 |
These files should be compatible with current OpenSolaris / Illumos based operating systems. Tested on OpenIndiana. |
| 5 |
|
| 6 |
Prerequesites: |
| 7 |
- ergo binary located at /opt/ergo/ergo |
| 8 |
- ergo configuration located at /opt/ergo/ircd.yaml (hardcoded) |
| 9 |
- ergo languages located at /opt/ergo/languages (to be compatible with default.yaml - you may adjust this path or disable languages in your custom ircd.yaml) |
| 10 |
- ergo certificate and key located at /opt/ergo/fullchain.pem /opt/ergo/privkey.pem (to be compatible with default.yaml - you may adjust these paths in your custom ircd.yaml) |
| 11 |
- `ergo` role user and `ergo` role group owning all of the above |
| 12 |
|
| 13 |
Installation: |
| 14 |
- cp ergo.xml /lib/svc/manifest/network/ |
| 15 |
- cp ergo /lib/svc/method/ |
| 16 |
- svcadm restart manifest-import |
| 17 |
|
| 18 |
Usage: |
| 19 |
- svcadm enable ergo (Start) |
| 20 |
- tail /var/svc/log/network-ergo:default.log (Check ergo log and SMF output) |
| 21 |
- svcs ergo (Check status) |
| 22 |
- svcadm refresh ergo (Reload manifest and ergo configuration) |
| 23 |
- svcadm disable ergo (Stop) |
| 24 |
|
| 25 |
Notes: |
| 26 |
- Does not support multiple instances - spawns instance :default |