You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This document details the configuration of Retro AIM Server to run as an unprivileged user with `systemd` managing it as a production service.
3
+
This document details the configuration of Retro AIM Server to run as an unprivileged user with `systemd` managing it as
4
+
a production service.
4
5
5
-
1.**Download Retro AIM Server**
6
+
1.**Download Retro AIM Server**
6
7
7
8
Grab the latest Linux release from the [releases page](https://github.com/mk6i/retro-aim-server/releases)
8
9
9
-
2.**Create the ras user and group**
10
+
2.**Create the ras user and group**
10
11
11
12
Run the following commands:
12
13
@@ -16,38 +17,39 @@ This document details the configuration of Retro AIM Server to run as an unprivi
16
17
$ sudo mkdir -p /var/ras
17
18
```
18
19
19
-
3.**Extract the archive**
20
+
3.**Extract the archive**
20
21
21
22
Extract the archive using the usual `tar` invocation, and move the extracted contents into `/opt/ras`
22
23
23
-
4.**Set Ownership and Permissions**
24
+
4.**Set Ownership and Permissions**
24
25
25
26
```shell
26
27
$ sudo chown -R ras:ras /opt/ras
27
28
$ sudo chmod -R o-rx /opt/ras
28
29
```
29
30
30
-
5.**Copy the systemd service**
31
+
5.**Copy the systemd service**
31
32
32
33
Place the `ras.service` file in `/etc/systemd/system`
33
34
34
-
6.**Reload systemd**
35
+
6.**Reload systemd**
35
36
36
37
```shell
37
38
$ sudo systemctl daemon-reload
38
39
```
39
40
40
-
7.**Enable and start the service**
41
+
7.**Enable and start the service**
41
42
42
-
```shell
43
-
$ sudo systemctl enable --now ras.service
44
-
```
43
+
```shell
44
+
$ sudo systemctl enable --now ras.service
45
+
```
45
46
46
-
8.**Make sure the service is running**
47
+
8.**Make sure the service is running**
47
48
48
49
```shell
49
50
$ sudo systemctl status ras.service
50
51
$ sudo journalctl -xeu ras.service
51
52
```
52
53
53
-
Note that the `systemd` service defines the configuration for Retro AIM Server directly, bypassing the usual `run.sh` script and `settings.env`. Customizations may be performed in `/etc/systemd/system/ras.service`.
54
+
Note that the `systemd` service defines the configuration for Retro AIM Server directly, bypassing the `settings.env`
55
+
config. Customizations may be performed in `/etc/systemd/system/ras.service`.
0 commit comments