

Here's how it might look given your example. When you create your target, you will need to make symlinks to the target.wants directory from the systemd services directory. There is no documentation specifically on how to create a target, so it's hard to determine the how it should be done, but it is not too different from creating a service. Reading through man 5 systemd.unit and man 5 systemd.target tells us that unit files are used to define targets as well as everything else systemd.
