mynode/rootfs/standard/etc/systemd/system/glances.service
2020-04-22 21:59:37 -05:00

19 lines
328 B
Desktop File

# myNode glances service (system monitoring)
# /etc/systemd/system/glances.service
[Unit]
Description=Glances
After=network.target
[Service]
ExecStartPre=/usr/bin/is_not_shutting_down.sh
ExecStart=/usr/bin/glances -w
User=root
Group=root
TimeoutSec=300
Restart=always
RestartSec=60
Nice=5
[Install]
WantedBy=multi-user.target