0

I'm talking about the autostart scripts placed in ~/.config/autostart. I know that systemd-xdg-autostart-generator creates .service files for them. So where do i find the generated files so that i can check their status using systemctl status foo.service

5
  • I think some doc said they are in $XDG_RUNTIME_DIR/generator/, which might be /run/user/<your_uid>/generator.
    – meuh
    Commented Jul 21, 2022 at 10:05
  • @meuh that is indeed the correct location but i'm unalbe to check their status using systemctl status command. Any ideas on how i could check their status? Commented Jul 24, 2022 at 4:38
  • sudo systemctl status should list all the running services. Autostart services are for a user, not the system, so you might be able to say systemctl status --user foo.service.
    – meuh
    Commented Jul 24, 2022 at 14:51
  • @meuh can you write an answer to this question? correct location was actually $XDG_RUNTIME_DIR/systemd/generator.late . i would expect you to write the location as well as the command Commented Nov 13, 2022 at 13:56
  • Please write-up and accept your own answer with the correct details you have found; I was just providing some possible places to look.
    – meuh
    Commented Nov 13, 2022 at 16:27

1 Answer 1

1

You can find the generated entries at $XDG_RUNTIME_DIR/systemd/generator.late

to check the status systemctl status --user foo.service

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .