This repository was archived by the owner on Dec 21, 2021. It is now read-only.

Description
The idea here is to support running preparatory or maintenance tasks that need to execute as a command that finishes after a while.
Ideally this should also be done via systemd as some of these commands can run for quite a while (days sometimes) and we do not want them aborted, when the agent crashes or is restarted.
This could be done via the following settings:
Type=oneshot
RemainAfterExit=true
An example can be seen here.
I am unsure if RemainAfterExit is necessary, but this might be required to check the exit code of the command afterwards.