Static unit can be triggered by another unit. Is it possible to list units that can trigger specific static unit ?

1 Answer 1


systemctl --reverse list-dependencies nameofunit.type shows what wants or needs that unit.

Add the --recursive option to see the chain of unit dependencies that leads up to the specified unit. You may need root privileges to see the entire chain.

(Source: man systemctl)

  • I know this, but it's not working with static units as expected. eg systemctl list-dependencies --reverse apt-daily.service gives nothing
    – EdiD
    Mar 11, 2017 at 18:51
  • Then it's likely a standalone service that is either active/enabled or called by a timer or a socket. What does systemctl status apt-daily.service say about it?
    – Mio Rin
    Mar 11, 2017 at 19:04
  • It is inactive and static service.
    – EdiD
    Mar 12, 2017 at 8:14
  • 1
    Is the service enabled? If it is, then it runs on startup and checks the timer with the same name to see if it ran today and does its job if it hasn't, then goes to sleep until the timer wakes it up when it needs to run again. It is supposed to check for updates each day.
    – Mio Rin
    Mar 12, 2017 at 9:35
  • You are right. I didn't know that timer trigger the same unit name. I thought that triggering is somewhere in unit config file
    – EdiD
    Mar 12, 2017 at 9:53

You must log in to answer this question.

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