[Mageia-dev] Daemons and initscripts

Julien julien.moragny at laposte.net
Sat Sep 1 13:29:09 CEST 2012


Le Sat, 1 Sep 2012 12:04:54 +0100,
"Johnny A. Solbu" <cooker at solbu.net> a écrit :

> On Saturday 01 September 2012 08:40, AL13N wrote:
> > i would make systemd stuff and import into cauldron
> 
> And my question was, how do I do that? :-)=
> Remember I am not a programmer and have yet to make a single init script,
> even.
> 

You have to write a unit file for systemd, something named like
oidentd.service
It's not very complicated, provided you know the options of
the daemon. 
http://www.freedesktop.org/software/systemd/man/systemd.unit.html
http://0pointer.de/blog/projects/systemd-for-admins-3.html
http://freedesktop.org/wiki/Software/systemd/

Dev of Archlinux have already written a unit file for oidentd, you should
be able to adapt it for mageia without a lot of headache :
https://projects.archlinux.org/svntogit/community.git/tree/trunk/service?h=packages/oidentd

regards
Julien


More information about the Mageia-dev mailing list