You are not logged in.

#1 2014-10-16 23:36:00

mariosangiorgio
Member
Registered: 2010-07-10
Posts: 25

How can I figure out who is starting my services?

I have a quite standard Arch Linux setup. I installed it a few months ago on a Raspberry PI and I didn't changed much from the original system image.

I am a bit puzzled because I cannot figure out who is starting some of my services. For instance, I have both dhcpcd up and running (I see it in ps output and as I am connecting to the Raspberry PI through ssh and that machine gets an IP address through dhcp).

What is curious is that if I execute systemctl list-unit-files I get this output

mario@alarmpi> systemctl list-unit-files | grep dhcp
dhcpcd.service                         disabled
dhcpcd@.service                        disabled

That suggests that dhcpcp is not being started by systemd so I'm quite curious to learn who is actually starting it and to understand if this is the best setup.

Conversely, if I do the same thing for sshd it looks like it is actually managed by systemd, which increases my confusion about my configuration

[127] mario@alarmpi> systemctl list-unit-files | grep ssh
sshd.service                           enabled
sshd@.service                          static
sshdgenkeys.service                    static
sshd.socket                            disabled

Offline

#2 2014-10-17 05:21:51

blackout
Member
Registered: 2014-05-21
Posts: 38

Re: How can I figure out who is starting my services?

what do you get if you type...
systemctl status dhcpcd

Offline

#3 2014-10-17 05:35:37

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: How can I figure out who is starting my services?

mariosangiorgio wrote:

I installed it a few months ago on a Raspberry PI

Please ask on the Arch ARM forums: https://bbs.archlinux.org/viewtopic.php?id=153431

Closing, for deletion: https://wiki.archlinux.org/index.php/Fo … pport_ONLY

Offline

Board footer

Powered by FluxBB