19 lines
581 B
Django/Jinja
19 lines
581 B
Django/Jinja
{{ ansible_managed | comment }}
|
|
|
|
[Unit]
|
|
Description=Galene
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory={{ galene_base_directory }}
|
|
User={{ galene_user }}
|
|
Group={{ galene_group }}
|
|
{% if galene_http_port < 1024 %}
|
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
{% endif %}
|
|
ExecStart=/usr/local/bin/galene -http :{{ galene_http_port }} -data {{ galene_data_directory }} -groups {{ galene_groups_directory }} -recordings {{ galene_recording_directory }} -static {{ galene_static_directory }} -turn "{{ galene_turn }}"
|
|
LimitNOFILE=65536
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|