Re: Fedora disimprovements: am I alone?

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

 



On 03/22/2012 01:04 PM, Timothy Murphy wrote:

I'd agree that the systemctl syntax is clumsier.

The CLI syntax is different, but the difference is negligible once you are used to it.

However, the *.service file syntax is much, MUCH simpler than the old init scripts!

An old-style postgrey init script:
http://lists.puremagic.com/pipermail/greylist-users/2006-May/001208.html

A new-style postgrey service file:
http://bugzilla.redhat.com/show_bug.cgi?id=714430#c10

There is way less wonky bash scripting in the new service file, because it is mostly declarations, rather than code. As an added bonus, the old postgrey init script never worked properly for me (it did not kill cleanly, no idea why), but the new systemd service file works great.

For example, if you declare the name of the pid file in the service file, systemd automatically knows to use that pid when stopping the service. It's brilliant.


- Mike
--
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