mherger wrote:
> > This can't work, since the unprivileged user LMS runs as can only
> choose
> > a lower priority
>
> Which means we should probably remove it from LMS?...
Not necessarily, as mentioned modifying the service unit / init script
should fix this
systemd (not tested, as I don't use it):
- set LimitNICE (preferred)
- or set CAP_SYS_NICE capability (potential security implications)
non-systemd distros eg. Devuan:
- config in /etc/security/limits.d/
- start-stop-daemon --capabilities option
audiomuze wrote:
>
> Please don't, it'd be better to implement a fix. For large libraries
> being able to run scanner.pl at -20 is essential to avoid lengthy update
> scans.
>
You can simply modify the service unit to include
Code:
--------------------
Nice=
CPUSchedulingPolicy=
CPUSchedulingPriority=
IOSchedulingClass=
IOSchedulingPriority=
--------------------
'Various SW' (https://www.nexus0.net/pub/sw/): Web Interface | Text
Interface | Playlist Editor / Generator | Music Classification | Similar
Music | Announce | EventTrigger | Ambient Noise Mixer | DB Optimizer |
Image Enhancer | Chiptunes | LMSlib2go | ...
'Various HowTos' (https://www.nexus0.net/pub/documents/LMS/): build a
self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...
------------------------------------------------------------------------
Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=117322
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter