superuserDoHaveStupidQ
superuserDoHaveStupidQ

Reputation: 121

How to list all auto-start services in archlinux?

I am aware of using systemctl status to check a particular status of the service and using systemctl enable to put a service in auto-start when system boot. But how can I list all exisiting auto-start services?

Upvotes: 5

Views: 8432

Answers (2)

augenbrot
augenbrot

Reputation: 3

Hi referring to @papey's answer, an option with nicer formatting might be using systemctl's state option:

$ systemctl list-unit-files --state=enabled
$ systemctl list-unit-files --user --state=enabled

Upvotes: 0

papey
papey

Reputation: 4134

For both system and user unit files :

systemctl list-unit-files | grep enabled && systemctl --user list-unit-files | grep enabled

Upvotes: 8

Related Questions