You are not logged in.

#1 2013-01-20 19:25:58

oniichan
Member
Registered: 2012-08-08
Posts: 31

[SOLVED] Daemon autostarting even after disabling it.

Hello.
Well, after a few problems I reinstalled mpd and ncmpcpp, because desperate attempts at trying to fix software mixing, but that's not really the problem.
Anyways, disabled mpd via systemctl (both mpd and mpd.service, both as root and as --user), it still autostarts, and I have to pkill it in order to be able to get my music.
I'm not quite sure what files to paste, or for that matter even what gets it to autostart. It starts with system, not at login or xorg. I'm not sure what more info i can supply.

Last edited by oniichan (2013-01-21 20:02:17)

Offline

#2 2013-01-20 20:33:16

mariusmeyer
Member
From: Norway
Registered: 2009-04-25
Posts: 244

Re: [SOLVED] Daemon autostarting even after disabling it.

You need to find out if any other service depends on mpd.

Offline

#3 2013-01-20 20:42:51

oniichan
Member
Registered: 2012-08-08
Posts: 31

Re: [SOLVED] Daemon autostarting even after disabling it.

mariusmeyer wrote:

You need to find out if any other service depends on mpd.

Mentioning that.. I do have "mpdscribble" installed.. Does that conflict?

Offline

#4 2013-01-20 20:54:54

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 5,675

Re: [SOLVED] Daemon autostarting even after disabling it.

oniichan wrote:

Mentioning that.. I do have "mpdscribble" installed.. Does that conflict?

Read the service file:

$ cat /var/abs/community/mpdscribble/service 
[Unit]
Description=last.fm updater for MPD
Wants=mpd.service
After=mpd.service

[Service]
Type=forking
PIDFile=/run/mpdscribble.pid
ExecStart=/usr/bin/mpdscribble --pidfile /run/mpdscribble.pid

[Install]
WantedBy=multi-user.target

How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | grub2 | systemd | LVM2 on LUKS
Lenovo x121e | Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz GenuineIntel | Intel Centrino Wireless-N 1000 | US keyboard with Euro | 320G 7200 RPM Seagate HDD

Offline

#5 2013-01-21 00:17:20

Stebalien
Member
Registered: 2010-04-27
Posts: 1,231
Website

Re: [SOLVED] Daemon autostarting even after disabling it.

That's a bug. mpdscribble should be wanted by mpd, not the other way around. https://bugs.archlinux.org/task/33484


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#6 2013-01-21 01:51:41

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 5,675

Re: [SOLVED] Daemon autostarting even after disabling it.

I don't use mpd but from the description of mpdscribble as "An mpd client which submits track info to last.fm" it sounds as if mpdscribble depends on mpd. Why would mpd depend on mpdscribble?


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | grub2 | systemd | LVM2 on LUKS
Lenovo x121e | Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz GenuineIntel | Intel Centrino Wireless-N 1000 | US keyboard with Euro | 320G 7200 RPM Seagate HDD

Offline

#7 2013-01-21 20:02:05

oniichan
Member
Registered: 2012-08-08
Posts: 31

Re: [SOLVED] Daemon autostarting even after disabling it.

Big thanks to all of you. It works, just using the file in the link Stebalien posted.

Offline

Board footer

Powered by FluxBB