summarylogtreecommitdiffstats
path: root/service
blob: 264a1b65503b3c303223392e48f1b5f0692200b2 (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
31
32
[Unit]
Description=Jitsi-Meet Conference Focus
After=network-online.target

[Service]
Environment=PATH=/usr/lib/jvm/java-11-openjdk/bin:/bin:/usr/bin:/usr/local/bin
EnvironmentFile=/etc/jicofo/config
User=jicofo
ExecStart=/usr/lib/jicofo/jicofo.sh ${JICOFO_OPTS}
WorkingDirectory=/var/lib/jicofo
StateDirectory=jicofo
StateDirectoryMode=0750
LogsDirectory=jicofo
LogsDirectoryMode=0750
ConfigurationDirectory=jicofo
ConfigurationDirectoryMode=0700

Restart=on-failure
SuccessExitStatus=143
RestartPreventExitStatus=78

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

[Install]
WantedBy=multi-user.target