build
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

This commit is contained in:
2026-03-16 13:36:29 +01:00
parent 579ec520a2
commit 13b93d7f2b
6 changed files with 51 additions and 9 deletions

View File

@@ -27,7 +27,7 @@ while True:
myCmd = ""
# Write a string on first line and move to next line
mem_data = psutil.virtual_memory()
net_sum = psutil.net_if_addrs()["eth0"]
net_sum = psutil.net_if_addrs()["end0"]
eth0_ip = (net_sum[0][1])
cpu_load = round(psutil.getloadavg()[0],2)
uptime_s = int(uptime())

View File

@@ -7,7 +7,7 @@ After=network.target network-online.target
Type=simple
User=root
#ExecStartPre=/bin/sleep 30
ExecStart=/usr/bin/python3 /usr/bin/lcd_control.py
ExecStart=/opt/myenv/bin/python3 /usr/bin/lcd_control.py
[Install]
WantedBy=multi-user.target suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target