Skip to content

Commit e4a56e6

Browse files
committed
Regroup commands together for folder creation
Signed-off-by: Hugues de Valon <[email protected]>
1 parent 5653474 commit e4a56e6

File tree

1 file changed

+8
-19
lines changed

1 file changed

+8
-19
lines changed

src/parsec_service/install_parsec_linux.md

+8-19
Original file line numberDiff line numberDiff line change
@@ -21,37 +21,26 @@ sudo useradd -m parsec
2121
sudo passwd parsec
2222
```
2323

24-
Create the following Parsec directories, with good permissions.
24+
Create the following Parsec directories, with good permissions:
2525

26-
`/var/lib/parsec` for storing persistent data like the `mappings` folder. The service will run from
27-
here.
26+
- `/var/lib/parsec` for storing persistent data like the `mappings` folder.
27+
- `/etc/parsec` to contain the configuration file.
28+
- `/usr/libexec/parsec` to contain the `parsec` executable binary file.
29+
- `/run/parsec` to contain the socket file. The `parsec-clients` group needs to be created. Mutually
30+
trusted Parsec Clients will need to be in that group.
31+
32+
Commands:
2833

2934
```
3035
sudo mkdir /var/lib/parsec
3136
sudo chown parsec /var/lib/parsec
3237
sudo chmod 700 /var/lib/parsec
33-
```
34-
35-
`/etc/parsec` to contain the configuration file.
36-
37-
```
3838
sudo mkdir /etc/parsec
3939
sudo chown parsec /etc/parsec
4040
sudo chmod 700 /etc/parsec
41-
```
42-
43-
`/usr/libexec/parsec` to contain the `parsec` executable binary file.
44-
45-
```
4641
sudo mkdir /usr/libexec/parsec
4742
sudo chown parsec /usr/libexec/parsec
4843
sudo chmod 700 /usr/libexec/parsec
49-
```
50-
51-
`/run/parsec` to contain the socket file. The `parsec-clients` group needs to be created. Mutually
52-
trusted Parsec Clients will need to be in that group.
53-
54-
```
5544
sudo groupadd parsec-clients
5645
sudo mkdir /run/parsec
5746
sudo chown parsec:parsec-clients /run/parsec

0 commit comments

Comments
 (0)