LinuxQuestions.org
Help answer threads with 0 replies.
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-09-2006, 04:54 PM   #1
baambooli
LQ Newbie
 
Registered: May 2006
Distribution: ubuntu , Win XP
Posts: 29

Rep: Reputation: 15
make service a program


hi
i am new in slackware
how can i conver a program to a service in slackware?
in fedora there is "chkconfig" command . what is its equivalent in slackware?
 
Old 05-09-2006, 05:10 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
I have never used chkconfig, or Fedora for that matter, but a Google search on chkconfig show it is used to start/stop and view status of services on the machine.

There is nothing like that in Slackware. The closest you could get is pkgtool->Setup->Services, but that only controls which services will start at boot, it does not show current status, or allow you to stop/start them in real time.

To see what processes are going to be started at boot on Slackware, you would do "ls -l /etc/rc.d/rc.*", and anything executable is enabled for boot. So start/stop/restart services, you would give those as arguments to the individual rc.* files. For example "/etc/rc.d/rc.samba start"
 
Old 05-09-2006, 05:22 PM   #3
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
Add a call to the program to /etc/rc.d/rc.local
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Convert my Program to Service ravichinchkar Programming 1 01-14-2006 10:34 AM
Starting a Program as a Service Abnoba12 Linux - Newbie 2 03-05-2005 02:00 PM
i make a program using forte how can i generate from that program an rpm abdelhlims Programming 0 07-13-2004 01:10 PM
How to use Service command for a program safun75 Linux - Software 4 04-16-2004 06:35 PM
adding a program as a service neverender Linux - Software 2 01-14-2004 06:29 AM

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

All times are GMT -5. The time now is 04:14 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