Skip to content

Instantly share code, notes, and snippets.

@leeuwte
Last active August 12, 2020 11:02
Show Gist options
  • Save leeuwte/155c5dbc179a047b4495f37dcba3a00c to your computer and use it in GitHub Desktop.
Save leeuwte/155c5dbc179a047b4495f37dcba3a00c to your computer and use it in GitHub Desktop.
sudo apt-get update
sudo apt-get install python-dev python-pip
sudo pip install glances bottle
sudo curl https://gist.githubusercontent.com/leeuwte/155c5dbc179a047b4495f37dcba3a00c/raw/526ee23d677bf92787d75c974b174af44a89649e/glances_rpi_service --output /etc/systemd/system/glances.service
sudo systemctl enable glances.service
sudo systemctl start glances.service
[Unit]
Description=Glances
[Service]
ExecStart=/usr/local/bin/glances -w
Restart=on-abort
[Install]
WantedBy=multi-user.target
sudo curl -s https://gist.githubusercontent.com/leeuwte/155c5dbc179a047b4495f37dcba3a00c/raw/e64e91bb2c27c51820e172b7e75b592472ae7eaf/glances_rpi_install_script.sh | bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment