2019-06-06 06:04:22 +02:00
|
|
|
[Unit]
|
|
|
|
Description=jitsi-jicofo
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
2020-04-11 21:55:05 +02:00
|
|
|
EnvironmentFile=/etc/__APP__/jicofo/config
|
2020-04-15 08:50:39 +02:00
|
|
|
Environment=LOGFILE=/var/log/__APP__/jitsi-jicofo.log
|
|
|
|
User=__APP__
|
2020-04-10 05:21:33 +02:00
|
|
|
WorkingDirectory=__FINALPATH__/jicofo/
|
2020-04-15 08:50:39 +02:00
|
|
|
ExecStart=/bin/bash -c "exec __FINALPATH__/jicofo/jicofo.sh --host=${JICOFO_HOST} --domain=${JICOFO_HOSTNAME} --port=${JICOFO_PORT} --secret=${JICOFO_SECRET} --user_name=${JICOFO_AUTH_USER} --user_domain=${JICOFO_AUTH_DOMAIN} --user_password=${JICOFO_AUTH_PASSWORD} ${JICOFO_OPTS} < /dev/null >> ${LOGFILE} 2>&1"
|
2019-06-06 06:04:22 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|