Skip to content

Commit d722060

Browse files
committed
Moved linger information to cluster installation
1 parent 08bd706 commit d722060

2 files changed

Lines changed: 15 additions & 4 deletions

File tree

content/en/docs/cluster/installation.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,19 @@ For production setups it is possible to run the Green Metrics Tool (GMT) in a cl
1111

1212
When submitting a job, a specific machine can be specified on which this job is then exclusively run. The configuration can be machine specific, as we want certain machines to have specific metric providers. We advise to not have unutilized machines running all the time for the case if a job might be submitted. Please think about switching off a machine when it is not used and power it up once a day or when the sun is shining.
1313

14-
There are two main ways to configure a cluster:
14+
## 0) Pre-Requisites
15+
16+
No matter which route you choose the execution will run as the *USER* of the system.
17+
18+
So your user must *linger* although you are not logged in. Even if it is a *systemd* service.
19+
20+
To enable *USER* linger do:
21+
22+
```bash
23+
sudo loginctl enable-linger $(whoami)
24+
```
25+
26+
Now you can choose between two modes:
1527

1628
## 1) Systemd Service - Client mode
1729

content/en/docs/installation/installation-linux.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,11 +152,10 @@ dockerd-rootless-setuptool.sh install
152152
After the installation the install script will tell you to add some `export` statements to your `.bashrc` file.
153153
Please do so to always have the correct paths referenced if you open a new terminal.
154154

155-
Lastly please run the following commands to have the docker daemon always lingering:
155+
Lastly enable the docker user daemon:
156156

157157
```bash
158-
systemctl --user enable docker
159-
sudo loginctl enable-linger $(whoami)
158+
systemctl --user enable --now docker
160159
```
161160

162161
{{< /tab >}}

0 commit comments

Comments
 (0)