mynode/rootfs/standard/etc/systemd/system/glances.service

19 lines
328 B
SYSTEMD
Raw Normal View History

2019-11-12 02:35:05 +00:00
# myNode glances service (system monitoring)
# /etc/systemd/system/glances.service
[Unit]
Description=Glances
After=network.target
[Service]
2020-04-23 02:59:37 +00:00
ExecStartPre=/usr/bin/is_not_shutting_down.sh
2019-11-12 02:35:05 +00:00
ExecStart=/usr/bin/glances -w
User=root
Group=root
TimeoutSec=300
Restart=always
RestartSec=60
Nice=5
[Install]
WantedBy=multi-user.target