gharris999 wrote: 
> OK, this is *really* kicking my butt.  I cannot figure out how to make a
> sysvinit started service respect values in /etc/security/limits.conf
> when the daemon is started as a user other than root.  At this point,
> having spent as much time as I have learning to write init scripts and
> having to learn systemd unit file syntax for Fedora, life is just too
> short to have to go back and learn upstart too.
> 
> For now, I'm giving up and just starting squeezelite via
> start-stop-daemon with --chuid root.  I *hate* having to resort to such
> a kludge.  But I don't know how else to avoid:
> 
> > 
Code:
--------------------
  >   > 
  > [11:13:42.076085] output_init_alsa:673 unable to lock memory: Cannot 
allocate memory
  > [11:13:42.079369] output_init_alsa:696 unable to set output sched fifo: 
Operation not permitted
  > 
--------------------
> > 
> 
> If anyone else has figured out how to do this, I'd *greatly*
> appreciate hearing how it's done.
I'm no good at auto-start services, but starting squeezelite as an
ordinary user (with -z), adding myself to the audio group and adding the
lines to /etc/security/limits.d/99-audio.conf fixed the issue for me on
ubuntu 14.04 (no chuid root).



LMS 7.9 on VortexBox Midi, Xubuntu 14.04, FLACs 16->24 bit,
44.1->192kbps. LMS & Squeeze2upnp (Beta - derived from squeezelite) to
Musical Fidelity M1 CLiC and Marantz CR603 UPnP renderers.  Squeezelite
to PC sound.  Minimserver (server) and upplay (control point) to same
amps & to upmpdcli/mpd PC renderers.  Meridian USB Explorer DAC from PCs
to speakers/headphones.  Wireless Xubuntu 14.04 laptop controls
LMS/upplay via Firefox.   Have a Touch with EDO, and a spare, but don't
use.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to