Linux.com: Managing Linux Daemons with init Scripts | Linux Today

Linux.com: Managing Linux Daemons with init Scripts

Written By
Web Webster
Web Webster
Aug 12, 2005

“When you install a new Linux server distribution, you can often
install all of the daemons you’ll need to run on that machine at
install time. Distribution vendors present a ‘ready to go’
distribution by supplying initialization scripts for all of the
services you might run. But what happens if you’re building from
source, and no init script is supplied? What if you’re writing the
source and haven’t ever built an init script? Here are a few ways
to cope when you’re faced with this challenge.

“You can handle initialization in several different ways. One
option is to place the commands used to start up a daemon into
/etc/rc.d/rc.local file. This method is very simple: Cut and paste
the instructions the README gives to start the daemon, and that’s
your initialization. Unfortunately, this method goes against what
most systems are set up to do by default, which is to use init
scripts…”

Complete
Story

Related Story:
BitBender:
Installing Slackware Linux
(Jan 27, 2004)

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.