2018-02-02 20:52:32 +00:00
|
|
|
#
|
|
|
|
# Configuration management program khaganat
|
|
|
|
#
|
|
|
|
# Copyright (C) 2017 AleaJactaEst
|
|
|
|
#
|
|
|
|
# This program is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
#
|
|
|
|
# Global parameter : use bu ymanager
|
|
|
|
#
|
|
|
|
[config:server]
|
|
|
|
# Define port listen (default 8000)
|
|
|
|
port = 8000
|
|
|
|
|
2018-08-02 14:38:07 +00:00
|
|
|
# Method : http or https
|
|
|
|
method = https
|
|
|
|
|
2018-02-02 20:52:32 +00:00
|
|
|
# key
|
|
|
|
keyfile = /home/gameserver/ca/appli/private/serverkey.pem
|
|
|
|
|
|
|
|
# certificate
|
|
|
|
certfile = /home/gameserver/ca/appli/certs/servercert.pem
|
|
|
|
|
|
|
|
# certification to check signature
|
|
|
|
ca_cert = /home/gameserver/ca/appli/certs/cachaincert.pem
|
|
|
|
|
2018-02-13 19:42:31 +00:00
|
|
|
# address listen (default all network)
|
2018-02-02 20:52:32 +00:00
|
|
|
address =
|
|
|
|
|
|
|
|
# activate authentification (yes or no)
|
|
|
|
authentification = no
|
|
|
|
passwordfile = /home/gameserver/passwordfile
|
|
|
|
|
|
|
|
[config:client]
|
|
|
|
port = 8000
|
2018-08-02 14:38:07 +00:00
|
|
|
method = https
|
2018-02-02 20:52:32 +00:00
|
|
|
keyfile = /home/gameserver/ca/appli/private/clientkey.pem
|
|
|
|
certfile = /home/gameserver/ca/appli/certs/clientcert.pem
|
|
|
|
ca_cert = /home/gameserver/ca/appli/certs/cachaincert.pem
|
|
|
|
address = 127.0.0.1
|
|
|
|
|
|
|
|
|
|
|
|
##############################
|
|
|
|
# List all program we manage #
|
|
|
|
##############################
|
|
|
|
|
2018-02-13 19:42:31 +00:00
|
|
|
[command:test1]
|
2018-02-02 20:52:32 +00:00
|
|
|
# command to launch the program
|
2018-02-13 19:42:31 +00:00
|
|
|
command = /home/gameserver/test1
|
2018-02-02 20:52:32 +00:00
|
|
|
|
|
|
|
# Admin Executor Service
|
2018-02-13 19:42:31 +00:00
|
|
|
[command:test2]
|
2018-02-02 20:52:32 +00:00
|
|
|
# command to launch the program
|
2018-02-13 19:42:31 +00:00
|
|
|
command = /home/gameserver/test2
|
2018-02-02 20:52:32 +00:00
|
|
|
# size buffer log for each program launched (number line stdout)
|
|
|
|
logsize = 1000
|
|
|
|
# buffer size (define value bufsize on subprocess.Popen, this buffer is use before read by manager)
|
|
|
|
bufsize = 100
|
|
|
|
|
|
|
|
# Admin Executor Service
|
2018-02-13 19:42:31 +00:00
|
|
|
[command:sleep]
|
2018-02-02 20:52:32 +00:00
|
|
|
# command to launch the program
|
|
|
|
command = sleep 10
|
|
|
|
|