You are not logged in.

#1 2017-03-12 18:13:09

Maniaxx
Member
Registered: 2014-05-14
Posts: 738

Systemd units not found (systemctl status) but are installed

Hallo,
i have 'xfce4-notifyd.service' and 'gvfs-metadata.service' installed and i can see them with 'systemctl status'. But when i invoke a 'systemctl status xfce4-notifyd.service' i get a "Unit xfce4-notifyd.service could not be found". I've also tried 'systemctl --all |grep -i notifyd' or 'systemctl list-unit-files |grep -i notifyd' or 'systemctl list-unit-files |grep -i xfce'. Outputs nothing.

I can see the unit file in 'pacman -Ql xfce4-notifyd' in '/usr/lib/systemd/user/xfce4-notifyd.service' and its editable with 'cat /usr/lib/systemd/user/xfce4-notifyd.service'.

Why can't i read/access them with 'systemctl'?


sys2064

Offline

#2 2017-03-12 18:17:19

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,564

Re: Systemd units not found (systemctl status) but are installed

It's a user service (--user), not a system service.

Online

#3 2017-03-12 18:38:45

Maniaxx
Member
Registered: 2014-05-14
Posts: 738

Re: Systemd units not found (systemctl status) but are installed

Indeed, thx.
Is it possible (maybe with an option/config) to have 'systemctl status xfce4-notifyd.service' handle both (user/system)? I'm not sure how often i trapped into that already...


sys2064

Offline

Board footer

Powered by FluxBB