2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
4 This file is part of Quagga.
5 The contents of this file are released to the public domain.
9 Solaris/Illumos SMF manifest file for buildbot slave/worker.
13 - edit occurances of 'slave' to 'worker', if needed.
14 - install buildbot-slave or buildbot-worker:
16 pip install buildbot-slave
18 - create buildbot user and homedir, then:
20 cd ~buildbot && buildslave . <buildbot-master> <name> <passw>
22 - enable: svcadm enable buildbot-slave
24 <service_bundle type='manifest' name='buildbot-slave'>
27 name='application/buildbot-slave'
31 <create_default_instance enabled='true' />
35 <dependency name='fslocal'
37 grouping='require_all'
39 <service_fmri value='svc:/system/filesystem/local:default' />
41 <dependency name='home'
43 grouping='require_all'
45 <service_fmri value='svc:/system/filesystem/autofs:default' />
48 <dependency name='net'
49 grouping='require_all'
52 <service_fmri value='svc:/milestone/network:default' />
58 exec='/usr/bin/buildslave start'
61 <method_credential user='buildbot' group='staff' />
68 exec='/usr/bin/buildslave stop'
71 <method_credential user='buildbot' group='staff' />
78 exec='/usr/bin/buildslave restart'
81 <method_credential user='buildbot' group='buildbot' />
84 <stability value='Unstable' />