The officially official Devuan Forum!

You are not logged in.

#1 2022-02-01 23:53:52

tempvuan1
Member
Registered: 2022-02-01
Posts: 1  

Help - list all services

Hello,
What is the preferred method for listing all installed services in Devuan (Chimaera)?

From debian and derivatives, i was used to command:
service --status-all

Regards,

Offline

#2 2022-02-02 02:26:15

ruenoak
Member
From: New Zealand
Registered: 2017-05-28
Posts: 38  
Website

Re: Help - list all services

Hi tempvan1,
I think you need to use the whole path
/usr/sbin/service --status-all

Thanks
R


"Has cat, eats cheese, drinks coffee, Chaotic Neutral " smile

Offline

#3 2022-02-02 09:36:29

GlennW
Member
From: Brisbane, Australia
Registered: 2019-07-18
Posts: 644  

Re: Help - list all services

To su to root, type "su -"
I think that may be your solution. It's in the release notes.


pic from 1993, new guitar day.

Online

#4 2022-02-02 09:46:03

alexkemp
Member
Registered: 2018-05-14
Posts: 357  

Re: Help - list all services

ruenoak wrote:

Hi tempvan1,
I think you need to use the whole path
/usr/sbin/service --status-all

That certainly works. However, for me so does the bare service --status-all (as an ordinary user, under chimaera, tested just now).

Offline

#5 2022-02-02 15:10:36

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: Help - list all services

The OP can view all installed services (ie, even those not running) by checking /etc/init.d/.


Brianna Ghey — Rest In Power

Offline

#6 2022-09-19 22:37:19

kaiyel
Member
Registered: 2019-10-16
Posts: 27  

Re: Help - list all services

If you've migrated from the Redhat world where you were comfortable with "chkconfig --list",

apt-get install -y sysv-rc-conf

and see if you like "sysv-rc-conf --list".

--K

Offline

#7 2022-09-20 05:15:46

GlennW
Member
From: Brisbane, Australia
Registered: 2019-07-18
Posts: 644  

Re: Help - list all services

I have open-rc and so we can use,

rc-update

to view status.

you can add, del or change a service and start level.

rc-update del nethack-common default
rc-update add nethack-common off

I have seen that the old service commands mostly still work, I don't use many of them, and only know a few.

status gives +-? results

service --status-all

type "service" to see the command options.

Hope this helps.


pic from 1993, new guitar day.

Online

Board footer