Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3882

Troubleshooting • Re: Python and Systemd. Program keeps restarting imediately.

$
0
0
It is hard to tell what is happening from the information here. You have told the service to restart on errors.

Code:

Restart=always
Looking at your previous posts, it looks like you wanted information about writing the script and if you should run forever. If your program is trying to run for ever, then it is probably exiting on an error and being restarted.

What does the following print out?

Code:

sudo systemctl status ferment.service

Statistics: Posted by AndyD — Fri Aug 30, 2024 1:37 am



Viewing all articles
Browse latest Browse all 3882

Trending Articles