Unix Technical Forum

startup services

This is a discussion on startup services within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> were can i find the script for stopping services by boot i use slackware 9.0 thanks Ruud...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 08:01 AM
Ruud
 
Posts: n/a
Default startup services

were can i find the script for stopping services by boot

i use slackware 9.0

thanks Ruud

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 08:01 AM
William Hunt
 
Posts: n/a
Default Re: startup services

On Mon, 1 Mar 2004, Ruud wrote:
> were can i find the script for stopping services by boot
> i use slackware 9.0
> thanks Ruud



The various scripts used to configure your machine
(at the end of the normal installation procedure)
are store in the diretory, /var/log/setup/

The script you want is called, conveniently,
setup.services.

you need root permissions and to be in the / directory:

% su root
(passwd)
# cd /
# setup.services





--
William Hunt, Portland Oregon USA
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 08:01 AM
ken
 
Posts: n/a
Default Re: startup services

On 2004-03-01, Ruud <spammer@spams.nl> wrote:
> were can i find the script for stopping services by boot
>
> i use slackware 9.0
>
> thanks Ruud
>



You might also want to check out the scripts in /etc/rc.d.

Just change the permissions.

ken

--

------------------------------------------------
The great flood: God's attempt at a warm reboot.
------------------------------------------------
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 08:01 AM
Joost Kremers
 
Posts: n/a
Default Re: startup services

Ruud wrote:
> were can i find the script for stopping services by boot


you probably want the scripts in /etc/rc.d. often stopping a service from
starting at boot is done by 'chmod -x' on the relevant script.

--
Joost Kremers joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-19-2008, 08:01 AM
Douglas Gardiner
 
Posts: n/a
Default Re: startup services

William Hunt wrote:

> On Mon, 1 Mar 2004, Ruud wrote:
>> were can i find the script for stopping services by boot
>> i use slackware 9.0
>> thanks Ruud

>
>
> The various scripts used to configure your machine
> (at the end of the normal installation procedure)
> are store in the diretory, /var/log/setup/
>
> The script you want is called, conveniently,
> setup.services.
>
> you need root permissions and to be in the / directory:
>
> % su root
> (passwd)
> # cd /
> # setup.services
>
>
>
>
>

Not in slackware. They are in the /etc/rc.d directory. Such files rc.M to
start with, as they show the other scripts they call. Another note, at the
top the give a general description of what they do, in this case starting
or stopping multi-user services. Others, such as rc.inet2 start network
services, and the other post about changing execute mode will disable the
entire script. It is what I do for the rc.pcmcia script since I don't have
a laptop. As far as individual services, in those particularly rc.inet2
you will have to comment or uncomment the lines that call other scripts,
etc. Just in case, you want ..say NFS server running but you want other
stuff. It's not hard but a little reading is involved.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-19-2008, 08:02 AM
William Hunt
 
Posts: n/a
Default Re: startup services

On Mon, 1 Mar 2004, Douglas Gardiner wrote:
> William Hunt wrote:
>> On Mon, 1 Mar 2004, Ruud wrote:
>>> were can i find the script for stopping services by boot
>>> i use slackware 9.0

>>
>> The various scripts used to configure your machine
>> (at the end of the normal installation procedure)
>> are store in the diretory, /var/log/setup/
>> The script you want is called, conveniently,
>> setup.services.
>> you need root permissions and to be in the / directory:
>> % su root
>> (passwd)
>> # cd /
>> # setup.services
>>

> Not in slackware.


wellllll, it's in slackware 9.1 anyway. also with 9.1 it's a
selection off the pkgtools menu. i'm not sure when that was
introduced - but right, slackware 8.1 doesn't have any
setup.services script. evolution in progress.

> They are in the /etc/rc.d directory. Such files rc.M to
> start with, as they show the other scripts they call.

[...]
> stuff. It's not hard but a little reading is involved.


right ...

--
William Hunt, Portland Oregon USA
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-19-2008, 08:03 AM
Ruud
 
Posts: n/a
Default Re: startup services

Joost Kremers heeft geschreven:
> Ruud wrote:
>
>>were can i find the script for stopping services by boot

>
>
> you probably want the scripts in /etc/rc.d. often stopping a service from
> starting at boot is done by 'chmod -x' on the relevant script.
>

Thank you

en can you also tell me how i can see wich services run now


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-19-2008, 08:03 AM
Joost Kremers
 
Posts: n/a
Default Re: startup services

Ruud wrote:
> en can you also tell me how i can see wich services run now


well, services whose startup script are executable will probably be
running. 'ps -ef | less' will give you a list of running processes, which
includes all services whose process is actually running. AFAIK there is no
other way.

--
Joost Kremers joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-19-2008, 08:03 AM
ken
 
Posts: n/a
Default Re: startup services

On 2004-03-02, Joost Kremers <joostkremers@yahoo.com> wrote:
> Ruud wrote:
>> en can you also tell me how i can see wich services run now

>
> well, services whose startup script are executable will probably be
> running. 'ps -ef | less' will give you a list of running processes, which
> includes all services whose process is actually running. AFAIK there is no
> other way.
>



You could also

% ls -la /proc/*/exe

Not btter, just different.

ken
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-19-2008, 08:03 AM
MikeyD
 
Posts: n/a
Default Re: startup services

>>>were can i find the script for stopping services by boot
>>
>>
>> you probably want the scripts in /etc/rc.d. often stopping a service from
>> starting at boot is done by 'chmod -x' on the relevant script.
>>

> Thank you
>
> en can you also tell me how i can see wich services run now


ls /etc/rc.d
The ones which are green will run.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:55 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com