SCIENTIFIC-LINUX-USERS Archives

February 2014

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
David Sommerseth <[log in to unmask]>
Reply To:
Date:
Mon, 10 Feb 2014 19:12:33 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (29 lines)
On 10/02/14 08:08, Andrew Z wrote:
> Hello,
>  i finally caved in and started reading on systemd. It apperas it (
> systemd) will be enabled by default on EL7.
> Does it mean i'll have to manually move all init scripts i wrote over
> the years ? I think the short answer is "no", but just want to clarify.
> // old unhappy guy ramblings
> Especially since i'm not too happy about these thousands of files to
> support systemd...
> // ramblings off.

As others have said, systemd supports SysV init scripts.  However,
unless your init script is doing lots of intricate stuff, have a look at
the unit files shipped in systemd ... Like these ones:

   /usr/lib/systemd/system/sshd.service
   /usr/lib/systemd/system/postfix.service

It's not hard to switch over, unless your init script does lots of other
things than just starting and stopping services.

The systemd.unit(5) man page is also quite comprehensive and informative.


--
kind regards,

David Sommerseth

ATOM RSS1 RSS2