Update to 2021-04-28 19:00

master
Daniel Berteaud 4 years ago
parent 6cabc899d9
commit fd21fd008d
  1. 9
      roles/jitsi_jibri/tasks/conf.yml
  2. 3
      roles/jitsi_jibri/templates/jitsi-jibri-xorg.service.j2

@ -7,3 +7,12 @@
- jibri.conf - jibri.conf
notify: restart jitsi-jibri notify: restart jitsi-jibri
tags: jitsi tags: jitsi
- name: Configure pam
copy:
content: |
#%PAM-1.0
auth required pam_permit.so
account required pam_permit.so
dest: /etc/pam.d/xserver
tags: jitsi

@ -6,7 +6,8 @@ After=network.target
User={{ jitsi_jibri_user }} User={{ jitsi_jibri_user }}
Group={{ jitsi_jibri_user }} Group={{ jitsi_jibri_user }}
Environment=DISPLAY=:0 Environment=DISPLAY=:0
ExecStart=/usr/bin/Xorg -nocursor -noreset +extension RANDR +extension RENDER -config {{ jitsi_root_dir }}/etc/jibri/xorg-video-dummy.conf :0 WorkingDirectory={{ jitsi_root_dir }}/etc/jibri/
ExecStart=/usr/bin/Xorg -nocursor -noreset +extension RANDR +extension RENDER -config xorg-video-dummy.conf :0
ExecReload=/bin/kill -HUP $MAINPID ExecReload=/bin/kill -HUP $MAINPID
KillMode=process KillMode=process
Restart=on-failure Restart=on-failure

Loading…
Cancel
Save