summarylogtreecommitdiffstats
path: root/teamspeak3-server.service
blob: 0ed6fcbc1ba3a58e96b7cfa40f2f19c56a4125f8 (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=TeamSpeak3 Server
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
DynamicUser=true
User=teamspeak
Group=teamspeak
StateDirectory=teamspeak3-server
LogsDirectory=teamspeak3-server
WorkingDirectory=/var/lib/teamspeak3-server
Environment='LD_LIBRARY_PATH="/usr/lib/:/usr/lib/mariadb/:$LD_LIBRARY_PATH"'
Environment="TS3SERVER_LICENSE=accept"
ExecStart=/usr/bin/ts3server inifile=/etc/teamspeak3-server.ini

# Hardening options
CapabilityBoundingSet=
AmbientCapabilities=
NoNewPrivileges=true
# DynamicUser only implies ProtectHome=read-only
ProtectHome=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true
LockPersonality=true

[Install]
WantedBy=multi-user.target