summarylogtreecommitdiffstats
path: root/service
blob: e103e95149a048d0a0662db02bf34b80304d8415 (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-nightly/config
User=jicofo
ExecStart=/usr/lib/jicofo-nightly/jicofo.sh --host=${JICOFO_HOST} --domain=${JICOFO_HOSTNAME} --user_name=${JICOFO_AUTH_USER} --user_domain=${JICOFO_AUTH_DOMAIN} ${JICOFO_OPTS}
WorkingDirectory=/var/lib/jicofo-nightly
StateDirectory=jicofo-nightly
StateDirectoryMode=0750
LogsDirectory=jicofo-nightly
LogsDirectoryMode=0750
ConfigurationDirectory=jicofo-nightly
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