How we can turn off/on services in Slackware?
Recently I've migrate from Mandrake-like distro to Slackware12. In systemV distroes it`s very easy to control startup services. Who can tell more easy way to manage services in "ntsysv style", without editing script in rc.d ?
|
Quote:
|
Run pkgtool then choose "Setup" then "Services"
Or you can just manually chmod + or - the various /etc/rc.d/rc.* scripts. e.g Code:
chmod +x /etc/rc.d/rc.httpd Code:
chmod -x /etc/rc.d/rc.httpd |
List services:
Code:
ls /etc/rc.d/ Code:
chmod -x /etc/rc.d/rc.servicename Code:
chmod +x /etc/rc.d/rc.servicename |
Quote:
As mentioned by mRgOBLIN, there is the pkgtool/setup/services option. That option requires a console or terminal. The pkgtool utility is ncurses, not exactly a graphical interface as many people use the phrase. The normal option used by most Slackers is the command line and the chmod command. Not glamorous but effective. :) |
If you ever chkconfig in Redhat well I made a curses script that is similar. It could still do with a lot of refining but have a look and see what you think:
http://www.unrealize.co.uk/scripts/bash/chkservice |
Quote:
I appreciate the fact that all system commands in Slackware can be configured via a shell prompt and/or a text editor. I think it will be the sign of an impending apocalypse if Slackware ships with GUIs. |
To Danzille:
If you want a graphical tool for controlling rc.d startup scripts, you can use the Salix tools package, which is backwards compatible with Slackware 13. I just installed Salix to a virtual machine and took a quick look at the tools. I think this is what you are looking for. :) |
Thanks a lot!
1st of all I'll try Salix tools. I don't use GUI configuration tools - in Mandrake-like distroes there was ntsysv utility. Working fine at console. So, smth written with ncurses will fit. I am afraid to corrupt rc.d scripts while editing them manually. Also, what kind of automounter and modules managing tool works good with Slackware? After kernel compilation I have light kernel (1.4Mb against 4+ Mb standart one) but have to compile some components as modules. Ex. iso9660 and udf. So, before mounting cdrom/dvd as a user, I have to "modprobe iso9660" at root console. |
The salixtools work with Xdialog or dialog. So if you don't have Xdialog installed, you won't get a GUI, but an ncurses-like interface with exactly the same options.
|
All times are GMT -5. The time now is 04:05 PM. |