summarylogtreecommitdiffstats
path: root/jicofo.service
blob: d540b2474944fd128f790a7e37cb15814552a73c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[Unit]
Description=JItsi COnference FOcus
Wants=network-online.target
After=network-online.target

[Service]
Type=simple
EnvironmentFile=/etc/jitsi/jicofo/jicofo.conf
User=jicofo
ExecStart=/usr/share/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}
WorkingDirectory=~
StateDirectory=jicofo
StateDirectoryMode=0750
LogsDirectory=jicofo
LogsDirectoryMode=0750
Restart=on-failure

# Hardening
#NoNewPrivileges=yes
#PrivateTmp=yes
#PrivateDevices=yes
#ProtectHome=yes
#ProtectKernelTunables=yes
#ProtectControlGroups=yes
#ProtectSystem=strict

[Install]
WantedBy=multi-user.target