![Dmitry Tantsur](/assets/img/avatar_default.png)
All currently supported systems use systemd, so let's simplify the templates. Change-Id: I66dfeedbff76bd2acd843b9ccffe8c79bc40391b
11 lines
237 B
Django/Jinja
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
|