aboutsummaryrefslogtreecommitdiffstats
path: root/templates/teamspeak3-server.service.j2
blob: c368c26843958815cc0e99f4ac7bf7169c3deacf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=TeamSpeak3 Server
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
User={{ teamspeak.user }}
Group={{ teamspeak.user }}
WorkingDirectory={{ teamspeak.home }}
{% if teamspeak_ini_enabled %}
ExecStart={{ teamspeak.home }}/ts3server inifile={{ teamspeak_ini_filename }}
{% else %}
ExecStart={{ teamspeak.home }}/ts3server
{% endif %}

[Install]
WantedBy=multi-user.target