Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
683 B

[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 \
--host=${JIGASI_HOST} \
--domain=${JIGASI_DOMAIN} \
--subdomain=callcontrol \
--secret=${JIGASI_SECRET} \
${JIGASI_OPT}
[Install]
WantedBy=multi-user.target