Skip to content

Commit 87bda28

Browse files
committed
Removing StandardOutput from systemd service installation. Should use syslog
1 parent a8f5072 commit 87bda28

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

content/en/docs/cluster/installation.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ After=docker.target
4444
Type=simple
4545
WorkingDirectory=/home/gc/green-metrics-tool/
4646
ExecStart=/home/gc/green-metrics-tool/venv/bin/python3 /home/gc/green-metrics-tool/tools/client.py
47-
StandardOutput=append:/var/log/green-metrics-client-service.log
4847
Restart=always
4948
RestartSec=30s
5049
TimeoutStopSec=600
@@ -58,8 +57,6 @@ WantedBy=default.target
5857

5958
Then activate the service
6059
```bash
61-
sudo touch /var/log/green-metrics-client-service.log
62-
sudo chown gc:gc /var/log/green-metrics-client-service.log
6360
systemctl --user daemon-reload # Reload the systemd configuration
6461
systemctl --ser enable green-coding-client # enable on boot
6562
systemctl --user start green-coding-client # start service
@@ -84,7 +81,6 @@ User=gc
8481
Group=gc
8582
WorkingDirectory=/home/gc/green-metrics-tool/
8683
ExecStart=/home/gc/green-metrics-tool/venv/bin/python3 /home/gc/green-metrics-tool/tools/client.py
87-
StandardOutput=append:/var/log/green-metrics-client-service.log
8884
Restart=always
8985
RestartSec=30s
9086
TimeoutStopSec=600

0 commit comments

Comments
 (0)