So, after finally sitting comfortably on my #Slackware install, I decided to do some stuff with the system, and then this turned into a full blown init administration tool lol
I got no idea what to call it. But basically, I didn't like re-inventing the wheel with every init-script I made. So I made a script inspired by #NetBSD's rc.subr, but with quite a few #Bash-isms lol. It handles:
- Logs and Rotating & Compressing said Logs
- Terminating/Killing daemons
- Displaying info about the daemon
- Displaying the status of the daemon
All with pretty output.
After that I was like "Man, be cool if I could start all my enabled scripts with one command, and control multiple daemons with one command" and then I made a #Perl script called
rcctl inspired by #OpenBSD's
rcctl and to a certain extent, systemd's
systemctl. It can:
- List all daemons, their statuses, if their enabled, and their PID.
- Startup all enabled daemons with one command (For use in rc.local)
- Shutdown all running daemons with one command (For use in rc.local_shutdown)
- Run an action (Such as start or stop) on multiple daemons at a time.
It's pretty much almost done, and I might make it public. I think it's pretty Slackware-centric, so those outside of Slackware probably won't see much use in it. =P
And before anyone asks "Why?", Because it's been fun to make! =D