15 lines
366 B
Django/Jinja
15 lines
366 B
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
description "{{ almanach_collector_program_name }}"
|
|
|
|
start on runlevel [2345]
|
|
stop on runlevel [!2345]
|
|
|
|
respawn
|
|
setuid {{ almanach_system_user_name }}
|
|
setgid {{ almanach_system_group_name }}
|
|
|
|
script
|
|
exec {{ almanach_app_dir }}/bin/almanach-collector --config-file={{ almanach_config_file }} --log-file={{ almanach_log_file }}
|
|
end script
|