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.
23 lines
574 B
23 lines
574 B
5 years ago
|
[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
|
||
|
ReadOnlyDirectories={{ jitsi_root_dir }}/etc {{ jitsi_root_dir }}/jigasi
|
||
|
Restart=on-failure
|
||
|
StartLimitInterval=0
|
||
|
RestartSec=30
|
||
|
ExecStart=/opt/jitsi/jigasi/jigasi.sh --host=${JIGASI_HOST} --domain=${JIGASI_DOMAIN} --secret=${JIGASI_SECRET} ${JIGASI_OPT}
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|