cancel
Showing results for 
Search instead for 
Did you mean: 
Trevor
Commander Commander
Commander
  • 75 Views

systemd dependencies

systemd activate all units that are dependencies of default.target.

What specifically makes a systemd unit dependent on default.target?

 

Trevor "Red Hat Evangelist" Chandler
Labels (3)
1 Reply
Blue_bird
Starfighter Starfighter
Starfighter
  • 45 Views

A systemd unit becomes dependent on default.target through one of these dependency relationships:

1. The unit is WantedBy= the default target
WantedBy=default.target

2. The unit is RequiredBy= the default target
RequiredBy=graphical.target

3.PartOf=default.target in unit file
PartOf=default.target

These above mentioned dependencies comes under Direct dependencies

 

Thanks

0 Kudos
Join the discussion
You must log in to join this conversation.