12

Is it possible to check if a service is either enabled, disabled, running or stopped?

I know I can use service $app status to see if it's running or dead, but how can I tell if the service has been disabled ?

I am running OpenSUSE.

AdminBee
  • 22,803
Tom
  • 529

1 Answers1

29

This on openSuSE.

I've found I can do this using systemctl is-enabled $app

Tom
  • 529