forked from pool/Jamulus
Konstantin Voinov
d1b6d8f3d0
- Add services for headless public and private server. - Add services for newRecording and ToggleRecording. - Add sysconfig for service files. - Add firewalld for private server. - Add user jamulus for server services. OBS-URL: https://build.opensuse.org/request/show/863369 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/Jamulus?expand=0&rev=33
30 lines
613 B
Desktop File
30 lines
613 B
Desktop File
|
|
[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
|