|
|
@@ -12,20 +12,19 @@ a production service.
|
|
|
Run the following commands:
|
|
|
|
|
|
```shell
|
|
|
- $ sudo useradd ras
|
|
|
- $ sudo mkdir -p /opt/ras
|
|
|
- $ sudo mkdir -p /var/ras
|
|
|
+ sudo useradd ras
|
|
|
+ sudo mkdir -p /opt/ras
|
|
|
```
|
|
|
|
|
|
3. **Extract the archive**
|
|
|
|
|
|
- Extract the archive using the usual `tar` invocation, and move the extracted contents into `/opt/ras`
|
|
|
+ Extract the archive using the usual `tar` invocation, and move `retro_aim_server` into `/opt/ras`
|
|
|
|
|
|
4. **Set Ownership and Permissions**
|
|
|
|
|
|
```shell
|
|
|
- $ sudo chown -R ras:ras /opt/ras
|
|
|
- $ sudo chmod -R o-rx /opt/ras
|
|
|
+ sudo chown -R ras:ras /opt/ras
|
|
|
+ sudo chmod -R o-rx /opt/ras
|
|
|
```
|
|
|
|
|
|
5. **Copy the systemd service**
|
|
|
@@ -35,20 +34,20 @@ a production service.
|
|
|
6. **Reload systemd**
|
|
|
|
|
|
```shell
|
|
|
- $ sudo systemctl daemon-reload
|
|
|
+ sudo systemctl daemon-reload
|
|
|
```
|
|
|
|
|
|
7. **Enable and start the service**
|
|
|
|
|
|
```shell
|
|
|
- $ sudo systemctl enable --now ras.service
|
|
|
+ sudo systemctl enable --now ras.service
|
|
|
```
|
|
|
|
|
|
8. **Make sure the service is running**
|
|
|
|
|
|
```shell
|
|
|
- $ sudo systemctl status ras.service
|
|
|
- $ sudo journalctl -xeu ras.service
|
|
|
+ sudo systemctl status ras.service
|
|
|
+ sudo journalctl -xeu ras.service
|
|
|
```
|
|
|
|
|
|
Note that the `systemd` service defines the configuration for Retro AIM Server directly, bypassing the `settings.env`
|