# # 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 . # # Global parameter : use bu ymanager # [config:server] # Define port listen (default 8000) port = 8000 # Method : http or https method = https # 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 # address listen (default all network) address = # activate authentification (yes or no) authentification = no passwordfile = /home/gameserver/passwordfile [config:client] port = 8000 method = https 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 # ############################## [command:test1] # command to launch the program command = /home/gameserver/test1 # Admin Executor Service [command:test2] # command to launch the program command = /home/gameserver/test2 # 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 [command:sleep] # command to launch the program command = sleep 10