blob: a035875869e065df4454dd51e76ea459ba42a1fa [file] [log] [blame]
Simon Kelley9e038942008-05-30 20:06:34 +01001From: David Connelly <dconnelly@gmail.com>
2Date: Mon, Apr 7, 2008 at 3:31 AM
3Subject: Solaris 10 service manifest
4To: dnsmasq-discuss@lists.thekelleys.org.uk
5
6
7I've found dnsmasq much easier to set up on my home server running Solaris
810 than the stock dhcp/dns server, which is probably overkill anyway for my
9simple home network needs. Since Solaris now uses SMF (Service Management
10Facility) to manage services I thought I'd create a simple service manifest
11for the dnsmasq service. The manifest currently assumes that dnsmasq has
12been installed in '/usr/local/sbin/dnsmasq' and the configuration file in
13'/usr/local/etc/dnsmasq.conf', so you may have to adjust these paths for
14your local installation. Here are the steps I followed to install and enable
15the dnsmasq service:
16 # svccfg import dnsmasq.xml
17 # svcadm enable dnsmasq
18
19To confirm that the service is enabled and online:
20
21 # svcs -l dnsmasq
22
23I've just started learning about SMF so if anyone has any
24corrections/feedback they are more than welcome.
25
26Thanks,
27David
28