Hi,
I'm trying to use tokens in my service manifest in the method_context
like so:
<exec_method type='method'
name='start'
exec='/usr/local/lib/svc/method/svc-postgres %m'
timeout_seconds='-1'>
<method_context>
<method_credential user='%{postgres/user}'
group='%{postgres/group}'/>
</method_context>
</exec_method>
<property_group name='postgres' type='application'>
<propval name='user' type='astring' value='postgres' />
<propval name='group' type='astring' value='postgres' />
</property_group>
But svc.startd complains that "Could not interpret user property."
Are tokens supported there?
--
Matthew Flanagan p: +61 2 9775 8486
Technical Specialist m: +61 4 1155 7080
IP Services Engineering f: +61 2 9775 9333
SingTel Optus Pty Ltd
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.opensolaris.org/pipermail/smf-discuss/attachments/20060324/c9a0ee78/attachment.html>