LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-10-2022, 01:39 AM   #46
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,606

Rep: Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473Reputation: 3473

Quote:
Originally Posted by Richard Cranium View Post
The underlying problem with sysv-init is that is doesn't (by default) know how to monitor a service to ensure that it is still running.

I've been running a dovecot server on a local 14.2 machine for years now. I have not been able to depend upon my system startup to ensure that dovecot is actually running when the system comes up. Sometimes it does; sometimes it doesn't.
The Slackware 15.0 ships a daemon supervisor designed exactly to supervise init system's services and Mr. Hameleers has a package of it for Slackware 14.2 - it's name is "daemon"

True, this daemon supervisor was added to Slackware mainly because its unique feature of integration with elogind (added on our request), and usually it's used by us to supervise the PipeWire daemons on user side and to gracefully quit them on user logout, BUT nothing stops you to use it for its original purpose of managing and monitoring init system's services.

Yes, today the Slackware ships a fine daemon supervisor, and it's also perfectly compatible with sysV init and its scripts - it's just a program to execute and control another program or even a script.

And Slackware demonstrated practically that there is no need to change the sysV init system to "supervise services" as you like.

Last edited by LuckyCyborg; 05-10-2022 at 02:24 AM.
 
Old 05-12-2022, 09:46 PM   #47
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,474
Blog Entries: 7

Rep: Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573Reputation: 2573
Quote:
Originally Posted by LuckyCyborg View Post
The Slackware 15.0 ships a daemon supervisor designed exactly to supervise init system's services and Mr. Hameleers has a package of it for Slackware 14.2 - it's name is "daemon"
...
And Slackware demonstrated practically that there is no need to change the sysV init system to "supervise services" as you like.
For the sake of illustration, say using dovecot as example, could you show how this would work?
 
Old 05-12-2022, 10:31 PM   #48
mishehu
Member
 
Registered: Aug 2014
Location: USA
Distribution: Slackware (where ::1 is), Centos, Debian
Posts: 106

Rep: Reputation: 158Reputation: 158
Quote:
Originally Posted by LuckyCyborg View Post
The Slackware 15.0 ships a daemon supervisor designed exactly to supervise init system's services and Mr. Hameleers has a package of it for Slackware 14.2 - it's name is "daemon"

True, this daemon supervisor was added to Slackware mainly because its unique feature of integration with elogind (added on our request), and usually it's used by us to supervise the PipeWire daemons on user side and to gracefully quit them on user logout, BUT nothing stops you to use it for its original purpose of managing and monitoring init system's services.
You still have to make changes to actually run those services under daemon.

Quote:
Originally Posted by LuckyCyborg View Post
Yes, today the Slackware ships a fine daemon supervisor, and it's also perfectly compatible with sysV init and its scripts - it's just a program to execute and control another program or even a script.
I don't think anybody here would argue that having choices is somehow a bad thing, at least not in this context.

Quote:
Originally Posted by LuckyCyborg View Post
And Slackware demonstrated practically that there is no need to change the sysV init system to "supervise services" as you like.
"Need" is in the eye of the beholder.
 
Old 06-15-2022, 09:20 AM   #49
tuxuser1
Member
 
Registered: Nov 2021
Posts: 167

Original Poster
Rep: Reputation: Disabled
I just released a beta version. https://www.linuxquestions.org/quest...em-4175713440/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get Runit working in Slackware. ReaperX7 Slackware 18 09-05-2014 10:14 PM
runit on SuSE 10.1 tzbishop SUSE / openSUSE 2 10-09-2006 11:26 AM
install runit-run package kristof_v Debian 1 03-07-2006 12:57 PM
runit problems deroB Linux - Software 3 01-17-2006 02:40 PM
xdm with runit? behmjose Linux From Scratch 0 05-22-2004 03:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration