solashR / staticdhcpd

Automatically exported from code.google.com/p/staticdhcpd
GNU General Public License v3.0
0 stars 0 forks source link

Add CentOS/Redhat compatible init script. #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I've added the metadata needed by centos, as well as switching to built in 
methods whereever possible.

I've also added the 'status' command, which lets automation tools determine if 
staticDHCPd is running or not (we had issues with Puppet continuously starting 
it due to the lack of the status command).

This should also prevent duplicate instances from being started if you 
repeatedly called the start command.

This will no longer work on debian/ubuntu though, as they don't provide the 
same functions.

Original issue reported on code.google.com by d...@devicenull.org on 14 Jul 2014 at 2:30

Attachments:

GoogleCodeExporter commented 9 years ago
The fact that it's non-compatible should be okay, since the plan is to provide 
.debs and .rpms by default once 2.0.0 is stable. Anyone installing manually can 
probably look at the samples directory and figure out what to do.

systemd support is also something that should follow shortly, if not be made 
available at that time.

Thank you very much for taking the time to build this; I'll be sure to get it 
included in the codebase at the earliest opportunity!

-Neil

Original comment by red.hamsterx on 14 Jul 2014 at 2:46