> well but this is mostly solveable with > > /lib/systemd/system/netatalk-afpd.service > /lib/systemd/system/netatalk-cnid.service > /lib/systemd/system/netatalk-atalk.service > >> If using AppleTalk, afpd must wait for starting atalkd. >> If not use AppleTalk afpd must not wait for starting atalkd > > Define "After=netatalk-cnid.service netatalk-atalk.service" > for "netatalk-afpd.service", this is not a hard requirement > and would provide the right order IF "atalk" is active
In case of this difinition, afpd is not started if atalkd does not exist. Is my guess wrong? > so for most of the things "Before=" and "After=" would be enough > and the configurations should be done via "EnvironmentFile" and > /etc/systemconfig-Files for settings this variables "EnvironmentFile" does not appear in systemd.service(5). What is /etc/systemconfig-Files? What document should I read? > so we would cleanup/simplify the whole thing and add the ability > to restart daemons automatically via systemd if they are crashing > and of course if i have a machine withe 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