mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-03 23:26:58 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
26
roles/jitsi/templates/jitsi-jigasi.service.j2
Normal file
26
roles/jitsi/templates/jitsi-jigasi.service.j2
Normal file
@@ -0,0 +1,26 @@
|
||||
[Unit]
|
||||
Description=Jitsi Gateway to SIP
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
SuccessExitStatus=143
|
||||
EnvironmentFile={{ jitsi_root_dir }}/etc/jigasi/jigasi.conf
|
||||
User={{ jitsi_user }}
|
||||
Group={{ jitsi_user }}
|
||||
PrivateTmp=true
|
||||
PrivateDevices=true
|
||||
ProtectHome=true
|
||||
ProtectSystem=full
|
||||
Restart=on-failure
|
||||
StartLimitInterval=0
|
||||
RestartSec=30
|
||||
ExecStart=/opt/jitsi/jigasi/jigasi.sh \
|
||||
--configdir={{ jitsi_root_dir }}/etc \
|
||||
--configdirname=jigasi \
|
||||
--nocomponent=true \
|
||||
${JIGASI_OPT}
|
||||
SyslogIdentifier=jigasi
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user