Skip to content

Instantly share code, notes, and snippets.

@cleverca22
Created September 30, 2020 17:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cleverca22/528f4a851d17444ed60ef7d609cdae6e to your computer and use it in GitHub Desktop.
Save cleverca22/528f4a851d17444ed60ef7d609cdae6e to your computer and use it in GitHub Desktop.
pi@raspberrypi:~ $ cat /etc/systemd/system/htop.service
[Unit]
Description=htop on tty1
[Service]
Type=simple
ExecStart=/usr/bin/htop
StandardInput=tty
StandardOutput=tty
TTYPath=/dev/tty1
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment