[doc] update on configuration directives

This commit is contained in:
Julien Vehent 2014-02-17 05:56:59 -08:00
Родитель 1c7da80b41
Коммит 5644dbe48f
2 изменённых файлов: 15 добавлений и 4 удалений

6
.gitignore поставляемый
Просмотреть файл

@ -2,9 +2,11 @@ bin/*
*.swp
*.swo
*.cfg
mig-agent-conf.go
conf/*
!conf/*.inc
src/mig/agent/configuration.go
doc/*.html
doc/*
!doc/*.rst
*.a
*.so
*.o

Просмотреть файл

@ -28,8 +28,7 @@ format.
.. code:: bash
git clone git@github.com:mozilla/mig.git
cd mig/conf
cp mig-agent-conf.go.inc mig-agent-conf.go
cp conf/mig-agent-conf.go{.inc,}
vim mig-agent-conf.go
Later on, when you run 'make mig-agent', the Makefile will copy the agent
@ -81,6 +80,16 @@ run 'make'.
Built binaries will be placed in **bin/linux/amd64/** (or in a similar directory
if you are building on a different platform).
Build agent with specific configuration file
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Use the AGTCONF make variable to specify a different path than
'conf/mig-agent-conf.go'.
.. code:: bash
make mig-agent AGTCONF=conf/mig-agent-conf.dev.go
Scheduler Configuration
-----------------------