mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-04 15:47:32 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
30
roles/jitsi/templates/jitsi-jicofo.service.j2
Normal file
30
roles/jitsi/templates/jitsi-jicofo.service.j2
Normal file
@@ -0,0 +1,30 @@
|
||||
[Unit]
|
||||
Description=Jitsi Conference Focus
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
SuccessExitStatus=143
|
||||
EnvironmentFile={{ jitsi_root_dir }}/etc/jicofo/jicofo.conf
|
||||
User={{ jitsi_user }}
|
||||
Group={{ jitsi_user }}
|
||||
PrivateTmp=true
|
||||
PrivateDevices=true
|
||||
ProtectHome=true
|
||||
ProtectSystem=full
|
||||
ReadOnlyDirectories={{ jitsi_root_dir }}/etc {{ jitsi_root_dir }}/jicofo
|
||||
Restart=on-failure
|
||||
StartLimitInterval=0
|
||||
RestartSec=30
|
||||
ExecStart=/opt/jitsi/jicofo/jicofo.sh \
|
||||
--host=${JICOFO_HOST} \
|
||||
--domain=${JICOFO_DOMAIN} \
|
||||
--secret=${JICOFO_SECRET} \
|
||||
--user_domain=${JICOFO_USERDOMAIN} \
|
||||
--user_name=${JICOFO_USER} \
|
||||
--user_password=${JICOFO_USER_PASS} \
|
||||
${JICOFO_OPT}
|
||||
SyslogIdentifier=jicofo
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user