feat: Initial code
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
0e18170cdf
commit
fc59b4f9a5
18 changed files with 478 additions and 1 deletions
19
ansible/roles/galene/templates/galene.service.j2
Normal file
19
ansible/roles/galene/templates/galene.service.j2
Normal file
|
@ -0,0 +1,19 @@
|
|||
{{ 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
|
Loading…
Add table
Add a link
Reference in a new issue