[systemd-devel] [Netatalk-admins] Restart=always and "ExecStartPre" (netatalk)
Frank Lahm
franklahm at googlemail.com
Wed Oct 12 06:57:32 PDT 2011
2011/10/12 Reindl Harald <h.reindl at thelounge.net>:
> Am 12.10.2011 15:35, schrieb HAT:
> From: Reindl Harald <h.reindl at thelounge.net>, 05 Oct 2011 12:32:00 +0200
>
>>>> /lib/systemd/system/netatalk-afpd.service
>>>> /lib/systemd/system/netatalk-cnid.service
>>>> /lib/systemd/system/netatalk-atalk.service
>
>> there are a lot of manuals but the most relevant in my opinion are
>> http://0pointer.de/public/systemd-man/systemd.unit.html
>> http://0pointer.de/public/systemd-man/systemd.service.html
>> http://0pointer.de/public/systemd-man/systemd.exec.html
> Hmmm. It may be possible.
> If you send more suitable afpd.service and cnid_metad.service to me,
> I will try to write atalkd.service, papd.service and so on.
>
>
> Hi
>
> My problem is that i did not get "cnid_metad" started as a own
> service, i tried Type=simple and Type=forked, it will be started
> and somehow the process closed without any error
>
> seems like a bug in netatalk
Guess not. According to
<http://0pointer.de/public/systemd-man/systemd.service.html> it's
Type=forking, not Type=forked.
Of course cnid_metad daemonizes. Also I'd utilize PIDFile=... .
Hth
-f
More information about the systemd-devel
mailing list