Issue with systemd --user services

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello,

I'm having problems with starting 'mpd' as a user service:

$ systemctl --user status mpd
mpd.service - Music Player Daemon
   Loaded: loaded (/home/me/.config/systemd/user/mpd.service; enabled)
   Active: inactive (dead)

However it works without any problems when started manually:

$ systemctl --user start mpd
$ systemctl --user status mpd

mpd.service - Music Player Daemon
   Loaded: loaded (/home/me/.config/systemd/user/mpd.service; enabled)
   Active: active (running) since Wed 2013-09-25 22:10:36 BST; 5s ago
 Main PID: 709 (mpd)
   CGroup: /user.slice/user-1000.slice/user@1000.service/mpd.service
           └─709 /usr/bin/mpd --stdout --no-daemon
/home/me/.config/mpd/mpdconf

Sep 25 22:10:36 XXX systemd[233]: Starting Music Player Daemon...
Sep 25 22:10:36 XXX systemd[233]: Started Music Player Daemon.


It's a fresh Arch install so it's unlikely that I messed something up. So
far, in regrads to systemd I followed wiki [1] enabling autologin, fixed
'pam' and added some environmental variables to user session as per [2].

Any idea why this may be happening?

[1] https://wiki.archlinux.org/index.php/Automatic_login_to_virtual_console
[2] https://archlinux.org/index.php/Systemd/User


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux