[galène] Update Galène setup

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
certbot_on_virtu
Yohann D'ANELLO 2021-06-22 16:57:54 +02:00
parent 60b6c319c3
commit 2f2886a1ec
Signed by: _ynerant
GPG Key ID: 3A75C55819C8CF85
2 changed files with 4 additions and 14 deletions

View File

@ -29,6 +29,7 @@
git:
repo: https://github.com/jech/galene.git
dest: /var/local/galene
version: galene-0.3.5
register: git_result
become_user: galene
@ -57,6 +58,8 @@
owner: galene
group: galene
## FIXME Deploy /var/www/galene-static
- name: Install systemd unit
template:
src: systemd/system/galene.service.j2
@ -73,19 +76,6 @@
daemon_reload: yes
state: started
- name: Create directory for streaming front page
file:
path: /var/www/galene-stream-frontend
state: directory
owner: www-data
group: www-data
mode: u+rw,g+rws,o+r
- name: Clone stream front
git:
repo: https://gitlab.adm.crans.org/erdnaxe/galene-stream-frontend.git
dest: /var/www/galene-stream-frontend
- name: Indicate role in motd
template:
src: update-motd.d/05-service.j2

View File

@ -9,7 +9,7 @@ Type=simple
WorkingDirectory=/var/local/galene
User=galene
Group=galene
ExecStart=/var/local/galene/galene --insecure --turn ""
ExecStart=/var/local/galene/galene --insecure --static /var/www/galene-static/
LimitNOFILE=65536
[Install]