Re: Fedora disimprovements: am I alone?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Am 23.03.2012 14:49, schrieb Tim:

> But much less precise.  It's all very well to say "this," "that," and
> "the other," need to start after "this thing," is easier to set.  But if
> you definitely need "this thing," followed by, "this," followed by
> "that," followed by "the other," in that precise order.  Then the
> numbered scheme does exactly what you want.

this is not true

* you can dervice your own unit-files in /etc/systemd/system/
* you can place here as much Before/After you need for a exact order
* you define Requires= to make sure B,C, AND D does not get started if A fails

you can even define a main-service with as many
ExecStartPre/ExecStartPost/ExecStopPre/ExecStopPost
you need without touch the services itself

below my netatalk for now
if the cnid-service fails ExecStart will never be called

the only problem with systemd in Fedora is that it was not
ready for F15 - see changelist of httpd where start after
network and named was RECENTLY added while this broke
many setups where httpd is bind to specific interfaces
pr rfuses to start at all because missing name resoltuion

F15 was shipped broken at all for most servcies which
worked partly only by luck - this is not a design problem
of systemd - this is a QA problem of fedora where nonody
cares if things are done really well the last releases

[Unit]
Description=Apple-Fileserver
After=avahi-daemon.service
[Service]
Type=forking
GuessMainPID=no
ExecStartPre=/bin/systemctl start netatalk-cnid.service
ExecStart=/usr/sbin/afpd -P /var/run/netatalk.pid -F /etc/netatalk/afpd.conf -U uams_dhx.so,uams_dhx2.so -g nobody
-c 100
ExecStopPost=/bin/systemctl stop netatalk-cnid.service
Restart=always
RestartSec=1
[Install]
WantedBy=multi-user.target

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux