[systemd-devel] Best practices for lots of similar units?

Peter Hoeg peter at hoeg.com
Fri Jul 24 07:09:43 UTC 2020


>Suppose I want to run a number of similar services that all require the same
>boilerplate. How to avoid repeating myself when creating unit files?

Solve this outside of systemd.

Whatever configuration management tool you use should be able to process templates and create the required files.

--
Regards,
Peter


More information about the systemd-devel mailing list