Re: Systemd support in Debian packages: how to help
Hi,
On 15/07/13 at 21:39 +0200, Michael Stapelberg wrote:
> Hi,
>
> I am sorry for starting yet another thread on systemd, but we feel this
> particular post is important and should spread as widely as possible
> (i.e. beyond just readers of planet debian):
>
> http://people.debian.org/~stapelberg/2013/07/14/systemd-how-to-help.html
>
> tl;dr: whatever you end up doing, please coordinate with us first!
I decided to give it a try, and to create a service file for a small
package I maintain (marionnet). Here is some feedback:
1) booting with systemd.
It failed at first, because I was mounting the cgroup virtual fs under
/cgroup for some reason. The error message was not so obvious. I'm not
sure if it's a common problem. If it is, it might be worth checking for
that before it's too late.
2) creating a service file.
http://wiki.debian.org/Systemd/Packaging points to
http://www.freedesktop.org/software/systemd/man/systemd.service.html,
but that manpage does not include any example. It would be nice to
provide a couple of very basic service files. Or a skeleton one, with
comments.
All in all, it was easier than I expected.
Is there a way to list services installed on my system that are managed
via service files, vs those that are managed using legacy init scripts?
I'm thinking of something like rc-alert or wnpp-alert.
Thanks
Lucas
Reply to: