Last active
November 21, 2022 00:41
-
-
Save viseshrp/e75f6ef7ba4412262386f4e65ea866c3 to your computer and use it in GitHub Desktop.
/etc/systemd/system/glances.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Glances | |
After=network.target | |
[Service] | |
ExecStart=/opt/glances/venv/bin/glances --server --disable-webui --disable-history | |
Restart=on-abort | |
RemainAfterExit=yes | |
[Install] | |
WantedBy=multi-user.target | |
pip install 'glances[docker]' | |
sudo systemctl enable glances.service --now |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment