Thursday September 07, 2006 Nice quick bit of progress on the home server today and one more service of the Qube.
Downloaded ddclient and copied over the configuration from the Qube. Then just had to write a smf manifest:
<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<service_bundle type='manifest' name='ddclient'>
<service
name='network/ddclient'
type='service'
version='1'>
<create_default_instance enabled='true' />
<dependency
name='network'
grouping='require_all'
restart_on='none'
type='service'>
<service_fmri value='svc:/network/initial:default' />
</dependency>
<exec_method
type='method'
name='start'
exec='/usr/sbin/ddclient'
timeout_seconds='0' />
<exec_method
type='method'
name='stop'
exec=':kill -15'
timeout_seconds='3' />
<stability value='Unstable'/>
<template>
<common_name>
<loctext xml:lang='C'>Dynamic DNS client</loctext>
</common_name>
</template>
</service>
</service_bundle>
Then the usual 'svccfg import ddclient.xml' and then we are going:
# svcs -x ddclient svc:/network/ddclient:default (Dynamic DNS client) State: online since Thu Sep 07 22:36:47 2006 See: /var/svc/log/network-ddclient:default.log Impact: None. #
tags: opensolaris smf ddclient
Except where otherwise noted, this site is
licensed under a Creative Commons License 2.0
This is a personal weblog, I do not speak for my employer.
This blog has moved to: http://chrisgerhard.wordpress.com/.
Comments here are closed comments there are open.
Posted by Chris4587777 on September 08, 2006 at 08:01 PM BST #