I want to spawn long-running child processes that survive when the main process restarts/dies. This works fine when running from the terminal:
$ cat exectest
If you cannot (like me) to change the KillMode of the service for some reason, you could try the at command (see man).
You can schedule your command to run 1 minute ahead. See an example:
# this will remove all .tmp files from "/path/" in 1 minute ahead (this task will run once)
echo rm /path/*.tmp | at now + 1 minute