summaryrefslogtreecommitdiff
path: root/jamulus-headless/jamulus.service
blob: 0a0caeed5a23ebaa8554cd4806f4804e42ae896a (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
[Unit]
Description=Jamulus-Server
After=network.target

[Service]
Type=simple
User=jamulus
Group=nobody
NoNewPrivileges=true
ProtectSystem=true
ProtectHome=true
Nice=-20
IOSchedulingClass=realtime
IOSchedulingPriority=0
Environment=central_server="jamulus.fischvolk.de"
Environment=server_info="yourServerName;yourCity;[country ID]"

#### Change this to set genre, location and other parameters.
#### See https://github.com/corrados/jamulus/wiki/Command-Line-Options ####
ExecStart=/usr/bin/Jamulus-headless -s -n -e "${central_server}" -o "${server_info}"
     
Restart=on-failure
RestartSec=30
StandardOutput=journal
StandardError=inherit
SyslogIdentifier=jamulus

[Install]
WantedBy=multi-user.target