mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-25 19:17:09 +03:00
Patch coming from Rapi3 (Gitter)
parent
e0f89221a8
commit
7e7380552f
@ -7,9 +7,9 @@ Create a new unit by creating a file called **glances.service** in the __/etc/sy
|
||||
```
|
||||
[Unit]
|
||||
Description=Glances
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
After=network.target
|
||||
ExecStart=/usr/local/bin/glances -s
|
||||
Restart=on-abort
|
||||
|
||||
@ -22,9 +22,9 @@ WantedBy=multi-user.target
|
||||
```
|
||||
[Unit]
|
||||
Description=Glances
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
After=network.target
|
||||
ExecStart=/usr/local/bin/glances -w
|
||||
Restart=on-abort
|
||||
|
||||
@ -40,7 +40,6 @@ Description=Glances
|
||||
After=network.target influxd.service
|
||||
|
||||
[Service]
|
||||
After=network.target
|
||||
ExecStart=/usr/local/bin/glances --quiet --export-influxdb
|
||||
Restart=on-failure
|
||||
RestartSec=30s
|
||||
|
Loading…
Reference in New Issue
Block a user