blob: 688638ff3d16d7e08b08e8b12e9f1f07c63bbb9f (
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
29
30
|
[Unit]
Description=Jitsi-Meet Conference Focus
After=network-online.target
[Service]
EnvironmentFile=/etc/jicofo/config
User=jicofo
ExecStart=/usr/lib/jicofo/jicofo.sh --host=${JICOFO_HOST} --domain=${JICOFO_HOSTNAME} --user_name=${JICOFO_AUTH_USER} --user_domain=${JICOFO_AUTH_DOMAIN} ${JICOFO_OPTS}
WorkingDirectory=/var/lib/jicofo
StateDirectory=jicofo
StateDirectoryMode=0750
LogsDirectory=jicofo
LogsDirectoryMode=0750
ConfigurationDirectory=jicofo
ConfigurationDirectoryMode=0700
Restart=on-failure
SuccessExitStatus=143
# Hardening
NoNewPrivileges=yes
PrivateTmp=yes
PrivateDevices=yes
ProtectHome=yes
ProtectKernelTunables=yes
ProtectControlGroups=yes
ProtectSystem=strict
[Install]
WantedBy=multi-user.target
|