renstur@coopnet:~/blog$ ls -lt ./topics/selinux/
selinux/
-
A systemd service that exits 0 in 18 ms, SELinux and two lost quotes
My Python service on an SELinux host crash-looped twice. systemd couldn't exec a sh wrapper under /home (203/EXEC), so I run it through bash -c. Later that line lost its quotes, and bash ran nothing and exited 0 in 18 ms. Quote the bash -c string and watch NRestarts after edits.