Note to self:Print statements not showing up on systemd logs? Do this
Let's assume we have a service set up as follows: [Unit] Description=systemd_microservice [Service] User=USER Group=GROUP WorkingDirectory=systemd_working_directory ExecStart=/usr/bin/python python_scripts.py SuccessExitStatus=143 TimeoutStopSec=10 Restart=on-failure RestartSec=10 [Install] WantedBy=multi-user.target And inside python_script.py you have a…