[systemd-devel] daemon migration tutorial

Lennart Poettering lennart at poettering.net
Wed Dec 19 05:27:04 PST 2012


On Fri, 14.12.12 12:15, Dennis Semakin (insane79 at yandex.ru) wrote:

> Hello,
> 
> I just want to ask you a question about daemon migration to systemd.
> I have daemon source code, I want to use it with systemd. Where can I find the information about this?
> Is there any centralized tutorial or document which contains the clear description of how to redesign daemon source code for using with systemd?
> 
> Or this information is scattered on the following websites 
> http://0pointer.de/blog/projects/socket-activation.html
> http://0pointer.de/blog/projects/socket-activation2.html
> http://0pointer.de/blog/projects/journal-submit.html
> http://www.freedesktop.org/wiki/Software/systemd

Note that systemd is compatible with SysV in most regards. So, migration
to systemd should be pretty trivial in the best case. However, if you
want to take benefit of specific systemd features (such as socket
activation), then the documents linked above and paritcularly daemon(7)
should tell you what to do. daemon(7) is the document that comes closest
to the "centralized tutorial" you requetsed.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list