Rami Michael wrote:
> Hello All,
> 
> I have noticed that openSuse seems to have a slightly different way of
> dealing with init scripts and services than Ubuntu or RHEL.
> 
> Is there a standard for the way init scripts are supposed to be built?
> I like the idea of being able to write one script and have it work on
> all (or as many as possible) linux based systems.


The wonderful thing about standards is that you have so many to choose from.
Seriously, pick a flavor of linux and go with it - it makes management a lot
more straightforward. For us, that flavor used to be redhat, now it's suse.

> Also, on RHEL one can do the following command "service mysqld
> restart" and this is the equiv of doing a "/etc/init.d/mysqld restart"
> does anything similar exist in openSuse?


Suse also has the "service foo" compatibility command, which is equivalent to
running /etc/init.d/foo, but I don't find it useful. I much prefer the native
suse rc commands, which are symlinks to the scripts in /etc/init.d, and they
have the wonderful quality that they allow tab completion. No contest.


> Also, I noticed that Ubuntu has in its latest version moved away from
> the current init.d way of doing things.  What is your opinion on that?
> Is it better/worse or just more of the same?
> 
> I love linux but it seems this type of stuff should be pretty standard
> or compatible otherwise there might be some type of lock in if you get
> familiar with a distro?  I personally would like to use the one that
> is most standards compliant, just for the sake of supposrting it.


Yeah, it would be great if solaris, hpux, aix, and all the BSDs were all the
same too. but there's really no substitute for knowing what's what and acting
accordingly.

Joe
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to