[opensuse] Controlling daemons
In the good old days, all daemons resided in /etc/init.d with symbolic links in /etc/init.d/rc[35].d. That made stopping, starting and checking any daemon very simple, just invoking it with "stop", "start" and "status", respectively. 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? Have a nice Pentecost day, hopefully less cold than in Germany (at the moment 9.7° in Hannover, incredible!). Regards, Wolfgang -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sunday, 15 May 2016 10:31:19 BST Wolfgang Mueller wrote:
In the good old days, all daemons resided in /etc/init.d with symbolic links in /etc/init.d/rc[35].d. That made stopping, starting and checking any daemon very simple, just invoking it with "stop", "start" and "status", respectively.
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?
Have a nice Pentecost day, hopefully less cold than in Germany (at the moment 9.7° in Hannover, incredible!).
Regards, Wolfgang If you are referring to the init service that must not be named, have a look at this and see if it helps https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-man... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----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@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 15 May 2016 at 10:31, Wolfgang Mueller <wm@ariannuccia.de> wrote:
In the good old days, all daemons resided in /etc/init.d with symbolic links in /etc/init.d/rc[35].d. That made stopping, starting and checking any daemon very simple, just invoking it with "stop", "start" and "status", respectively.
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?
Have a nice Pentecost day, hopefully less cold than in Germany (at the moment 9.7° in Hannover, incredible!).
Regards, Wolfgang
I find the documentation to be quite helpful https://doc.opensuse.org/documentation/leap/reference/html/book.opensuse.ref... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Carlos E. R.
-
ianseeks
-
Richard Brown
-
Wolfgang Mueller