TransWikia.com

Check if service is Enabled, Disabled, Running or Stopped

Unix & Linux Asked on November 6, 2021

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.

One Answer

This on openSuSE.

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

Answered by Tom on November 6, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP