# # 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 # address listen (default all network) address = # activate authentification (yes or no) authentification = no [config:client] # you can use curl as client # like: curl -XGET http://127.0.0.1:8000/STATUSALL # curl -XPOST http://127.0.0.1:8000/STARTALL port = 8000 method = http 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