You are not logged in.

#1 2014-08-05 10:41:08

crashandburn4
Member
Registered: 2013-03-03
Posts: 105

[Solved] Make systemctl find .service file in /usr/lib/systemd/user?

I thought this had always worked, but it seems that systemctl cannot see `.service` files that are in my `/usr/lib/systemd/user` folder and I can't figure out why:

 $ locate redshift-gtk.service
/usr/lib/systemd/user/redshift-gtk.service

 $ systemctl status redshift-gtk
● redshift-gtk.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

I have already looked at https://wiki.archlinux.org/index.php/Systemd/User which seems to tell me to check sytemctl --user status but that appears to be loaded and working fine, I have a feeling I'm missing something obvious but can't figure out what it is. How do I make systemctl include this directory?

$ systemctl --user status
● michael-work
    State: running
     Jobs: 0 queued
   Failed: 0 units
    Since: Tue 2014-08-05 11:24:32 BST; 11min ago
   CGroup: /user.slice/user-1000.slice/user@1000.service
           ├─730 /usr/lib/systemd/systemd --user
           └─731 (sd-pam)

Any ideas?

Last edited by crashandburn4 (2014-08-05 11:09:45)

Offline

#2 2014-08-05 10:47:16

loqs
Member
Registered: 2014-03-06
Posts: 18,140

Re: [Solved] Make systemctl find .service file in /usr/lib/systemd/user?

systemctl --user status redshift-gtk.service

Offline

#3 2014-08-05 11:09:13

crashandburn4
Member
Registered: 2013-03-03
Posts: 105

Re: [Solved] Make systemctl find .service file in /usr/lib/systemd/user?

Brilliant, knew it would be something obvious I was missing. Thanks loqs

Offline

Board footer

Powered by FluxBB