[pulseaudio-discuss] module-alsa-sink device

Anton Lundin glance at acc.umu.se
Sat Mar 18 20:54:03 UTC 2017


On 18 March, 2017 - Tadej Panjtar wrote:

> Thanks!
> 
...
> 
> If PA is started via command as root it works. But if same command
> is run via systemd, happens Got signal SIGTERM.
> Here is log.
...
> mar 18 00:14:11 tadejas pulseaudio[8285]: Got signal SIGTERM.
...
> and here is service script:
> 
> # systemd service spec for pulseaudio running in system mode -- not
> recommended though!
> # put it under /etc/systemd/system/pulseaudio.service
> # start with: systemctl start pulseaudio.service
> # enable on boot: systemctl enable pulseaudio.service
> 
> [Unit]
> Description=Plseaudio Service
> After=network-online.target
> 
> [Service]
> ExecStart=/usr/bin/pulseaudio -vvvv --system --disallow-exit
> --disallow-module-loading
> #ExecReload=/bin/kill -HUP $MAINPID
> TimeoutSec=13

I guess this is your problem. 13 seconds after start systemd sends a
SIGTERM, because it thinks the service didn't start properly.


//Anton


> 
> [Install]
> WantedBy=multi-user.target
> 
> Best regards,
>   Tadej
> 
> 
> 
> On Fri, Mar 17, 2017 at 3:16 AM, Arun Raghavan <arun at arunraghavan.net>
> wrote:
> 
> > On Wed, 15 Mar 2017, at 12:27 PM, Tadej Panjtar wrote:
> > > Hi!
> > >
> > > I Migrated from pulseaudio version 4.0 to 8.0 and the following command
> > > does not work anymore:
> > > load-module module-alsa-sink device="hw:2,7" sink_name=seat1
> > >
> > > E: [pulseaudio] module.c: Failed to load module "module-alsa-sink"
> > > (argument: "device="hw:2,7" sink_name=seat1"): initialization failed.
> > > E: [pulseaudio] main.c: Module load failed.
> > >
> > > What is wrong?
> >
> > You need to increase your pulseaudio debug level (or start it with
> > -vvvv).
> >
> > -- Arun
> >

> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss


-- 
Anton Lundin	+46702-161604


More information about the pulseaudio-discuss mailing list