>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