Mailinglist Archive: opensuse (769 mails)

< Previous Next >
Re: [opensuse] Controlling daemons
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 2016-05-15 10:31, Wolfgang Mueller wrote:

Today, since only very few daemons survive in /etc/init.d and
/etc/init.d/rc[35].d, I have no other means to control the major
part of them than by using the Services Manager in YaST.

Is there no more any simplified way of controlling daemons,
analogous to that described above?

You do not need to use YaST. You can manage them from the command line.

The old "rcSERVICE_NAME start|stop|restart" should work, as long as
someone remembered to create the link. If it doesn't, you can create
it yourself - see later.

The standard way is:

systemctl status SERVICE_NAME[TAB]

The tab is to complete the name, usually "service" but sometimes
"target". Or nothing. Another syntax, with an actual case:

service status syslog

which is simple enough and easier to remember. Try:

service syslog

it gives the familiar help.


Creating the link would be, for instance:

ln -s /sbin/service /sbin/rcauditd




- --
Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 "Bottle" (Minas Tirith))
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iF4EAREIAAYFAlc4VicACgkQja8UbcUWM1zq9QD+KPi7rHXACv/kWjOItAtpK47z
XhZu6dgdXXwofXc2rmcA/iVqDalJ7ub9fq3JjZajOqSfSYGqptCu1BUDfDSqTnOJ
=u2cn
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
References