Dmitry Tantsur 6f44cd8c31 Stop supporting non-systemd systems
All currently supported systems use systemd, so let's simplify
the templates.

Change-Id: I66dfeedbff76bd2acd843b9ccffe8c79bc40391b
2020-06-03 16:01:07 +02:00

11 lines
237 B
Django/Jinja

[Unit]
Description={{ item.service_name }} service
[Service]
ExecStart={{ item.service_path }}/{{ item.service_name }} {{ item.args }}
User={{ item.username }}
[Install]
WantedBy=multi-user.target
Alias={{ item.service_name }}.service