python script hangs

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
tommyroland
Posts: 1
Joined: Wed Aug 04, 2021 5:26 am

python script hangs

Post by tommyroland »

Hi, I am running a python script on startup using custom.sh located in dietpi-config but it seems to be hanging while requesting modules.
Any advice? Thanks!
User avatar
Joulinar
Posts: 5604
Joined: Sat Nov 16, 2019 12:49 am

Re: python script hangs

Post by Joulinar »

Hi,

can you share a little bit of details. What is the content of your script

Code: Select all

cat /var/lib/dietpi/dietpi-autostart/custom.sh
systemctl status dietpi-autostart_custom
journalctl -u dietpi-autostart_custom
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply