Re: [systemd-devel] [Netatalk-admins] Restart=always and "ExecStartPre" (netatalk)

2011-09-29 Thread HAT
et it. >> >> There are two reasons why systemd failed to detect the new main PID: >> - issue #3: afpd has a racy daemonization sequence. It writes its PID >>file too late. My recently proposed patch "service: delayed main PID >>guessing" should be able

Re: [systemd-devel] [Netatalk-admins] Restart=always and "ExecStartPre" (netatalk)

2011-10-04 Thread HAT
> i know that my systemd-service is unacceptable upstream > but here it is enough this time because only afpd is used > >> Systemd MUST control all daemons. > > but it does not! > systemd controls exactly nothing with the "/usr/libexec/netatalk/netatalk.sh" > an

Re: [systemd-devel] [Netatalk-admins] Restart=always and "ExecStartPre" (netatalk)

2011-10-05 Thread HAT
the only purpose provide > fileservices via netatalk/samba and one of the processes are > crashing for whatever reason they should be restarted before the > users are calling me :-) -- HAT ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [Netatalk-admins] Restart=always and "ExecStartPre" (netatalk)

2011-10-12 Thread HAT
atalkd.service, papd.service and so on. -- HAT ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [Netatalk-admins] netatalk: afpd/cnid service

2011-10-22 Thread HAT
ser.target ------- -- HAT ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [Netatalk-admins] Restart=always and "ExecStartPre" (netatalk)

2011-11-01 Thread HAT
If cnidscheme is "tdb" only, it's not necessary to run cnid_metad. strict setup is: After=netatalk-cnid.service Which should we choose between convenience and stringency? In the future, the situation will become more complicated. A new daemon "netalockd&qu

Re: [systemd-devel] [Netatalk-admins] Restart=always and "ExecStartPre" (netatalk)

2011-11-01 Thread HAT
-user.target B) [Unit] Description=XXX After=netatalk-cnid.service [Service] Type=forking GuessMainPID=no ExecStart=/usr/sbin/afpd Restart=always RestartSec=1 [Install] WantedBy=multi-user.target -- HAT ___ systemd-devel mailing list systemd-devel

Re: [systemd-devel] [Netatalk-admins] Restart=always and "ExecStartPre" (netatalk)

2011-11-02 Thread HAT
orking GuessMainPID=no ExecStart=/usr/sbin/afpd Restart=always RestartSec=1 [Install] WantedBy=multi-user.target -- HAT ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [Netatalk-admins] Restart=always and "ExecStartPre" (netatalk)

2011-11-02 Thread HAT
cnid_metad stops before afpd. starting order is controllable by "After=". How is stopping order controlled? -- HAT ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [Netatalk-admins] Restart=always and "ExecStartPre" (netatalk)

2011-11-02 Thread HAT
From: Reindl Harald , Wed, 02 Nov 2011 17:27:19 +0100 > Am 02.11.2011 17:20, schrieb HAT: >>>> # systemctl start netatalk-cnid_metad.service netatalk-afpd.service >>> >>> yes, please go this way for the public packages to get them >>> work in a clean

Re: [systemd-devel] Restart=always and "ExecStartPre" (netatalk)

2011-11-26 Thread HAT
Hi, I add two experimental service files in contrib/systemd/ directory. http://netatalk.git.sourceforge.net/git/gitweb.cgi?p=netatalk/netatalk;a=commit;h=865e4844985b0af1595149af1aa0bf1051796a8d -- HAT ___ systemd-devel mailing list systemd-devel