[systemd-devel] [ PATCH-v2 ] dnsmasq ebuild and unit files for dnsmasq

microcai microcai at fedoraproject.org
Sun May 22 22:19:31 PDT 2011


于 2011年05月22日 23:22, Henry Gebhardt 写道:
> On Sun, May 22, 2011 at 02:50:00PM +0800, microcai wrote:
>> Heya,
>>
>> Here is the 2nd version.
>>
>> Split the DHCP and TFTP socket and use Servie=dnsmasq.servie to point to
>> dnsmasq.
>>
>> Add einfo to the user tell then how to do with the socket unit files.
>>
>> both DNS and tftp have been test. I haven't test DHCP activation,  But I
>> think it will works.
>>
>> CC systemd for other people to review the socket unit files.
> 
> CC'ing Michal, I hope you don't mind. But one question: Should
> services/sockets be enabled by default (e.g. using your
> systemd_enable_services() function)?
> 
>>
>> Thanks.
>>

Updated. Use systemd_dounit() and always intall systemd unit files.

Description changed.


Hope this time I did the right job, once for all. ;)

As for upstream, I've send him the patch. But we don't want to wait for
another release, do we?
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dnsmasq.service
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20110523/2157b2c4/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dnsmasq.socket
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20110523/2157b2c4/attachment.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dnsmasq-dhcp.socket
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20110523/2157b2c4/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dnsmasq-tftp.socket
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20110523/2157b2c4/attachment-0001.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dnsmasq-2.57-r1.ebuild
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20110523/2157b2c4/attachment-0001.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20110523/2157b2c4/attachment.pgp>


More information about the systemd-devel mailing list