New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to Autostart glances using the systemd instructions [SOLVED] #2673
Labels
Comments
ddetton
changed the title
Unable to Autostart glances on pop-os 22.04 using the systemd instructions
Unable to Autostart glances using the systemd instructions
Feb 6, 2024
ddetton
changed the title
Unable to Autostart glances using the systemd instructions
Unable to Autostart glances using the systemd instructions [SOLVED]
Feb 7, 2024
This stackoverflow article solved this issue for me. I needed to tell systemd which user to run as. I also put in WorkingDirectory but don't know if that was required or not. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[SOLVED] See first comment below.
I followed the instructions from here to autostart glances using systemd.
https://github.com/nicolargo/glances/wiki/Start-Glances-through-Systemd
=====================================
After systemctl enable and start, I run systemctl status glances.service, I get this:
====================================
My glances.service file looks like this:
===================================
My Operating System:
===================================
My Glances & psutil versions
==================================
My Install method:
It was installed in $HOME/.local/bin. I added this to my path in my .zshrc script. I can run 'glances -w' just fine from the terminal and it responds to the REST API calls. I just can not get it to autostart with systemd. I am open to other autostart methods if systemd is not going to work for me.
Thanks!
The text was updated successfully, but these errors were encountered: