Subject: | |
From: | |
Reply To: | |
Date: | Mon, 10 Feb 2014 19:12:33 +0100 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
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
|
|
|