forked from pool/Jamulus
30 lines
613 B
SYSTEMD
30 lines
613 B
SYSTEMD
|
|
||
|
[Unit]
|
||
|
Description=Jamulus-Server
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
EnvironmentFile=-/etc/sysconfig/jamulus
|
||
|
User=jamulus
|
||
|
Group=nogroup
|
||
|
NoNewPrivileges=true
|
||
|
ProtectSystem=true
|
||
|
ProtectHome=true
|
||
|
Nice=-20
|
||
|
IOSchedulingClass=realtime
|
||
|
IOSchedulingPriority=0
|
||
|
|
||
|
#### Change this to set genre, location and other parameters.
|
||
|
#### See [Command-Line-Options](Command-Line-Options) ####
|
||
|
ExecStart=/usr/bin/Jamulus -s -n -o "${yourServername};${yourCity};[${yourCountryID}]"
|
||
|
|
||
|
Restart=on-failure
|
||
|
RestartSec=30
|
||
|
StandardOutput=journal
|
||
|
StandardError=inherit
|
||
|
SyslogIdentifier=jamulus
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|