[INIT+STANDALONE] fresh init of this project from original without specific confidential documents
This commit is contained in:
BIN
kvmstoreserver_installer/data/bin/kvmstoreserver
Normal file
BIN
kvmstoreserver_installer/data/bin/kvmstoreserver
Normal file
Binary file not shown.
55
kvmstoreserver_installer/data/etc/kvmstoreserver.conf
Normal file
55
kvmstoreserver_installer/data/etc/kvmstoreserver.conf
Normal file
@@ -0,0 +1,55 @@
|
||||
#******************************************************************************
|
||||
#* storeserver main config file
|
||||
#******************************************************************************
|
||||
|
||||
#******************************************************************************
|
||||
#* The kvmstoreserver was compiled with the configPoller extension. This means
|
||||
#* that changes to this config file can be captured after 60 seconds and
|
||||
#* loaded at runtime of the kvmstoreserver. Not all of the parameters listed
|
||||
#* below can be updated at runtime. Parameters with the comment label DYNAMIC
|
||||
#* can be updated at runtime. Parameters with the label STATIC did not belong.
|
||||
#*
|
||||
#* Caution when updating DYNAMIC parameters.
|
||||
#* In case of incorrect entries, the kvmstoreserver can crash!
|
||||
#*
|
||||
#******************************************************************************
|
||||
|
||||
|
||||
###################### General Server settings ################################
|
||||
|
||||
# DINAMIC
|
||||
storage_target = /home/kvmstoreserver/kvmstoreserver/warehouse
|
||||
|
||||
# DINAMIC
|
||||
serde_driver = filesystem
|
||||
|
||||
# All log file parameters -> STATIC
|
||||
default_log_file = /home/kvmstoreserver/kvmstoreserver/var/log/kvmstoreserver.log
|
||||
log_max_size_mb = 100
|
||||
log_max_age_days = 30
|
||||
log_write_to_console = false
|
||||
|
||||
|
||||
######################### HTTP Server settings ###############################
|
||||
|
||||
# All HTTP Server Settings -> STATIC
|
||||
http_hostname =
|
||||
http_port = 3344
|
||||
read_header_timeout = 30
|
||||
read_timeout = 30
|
||||
write_timeout = 30
|
||||
tcp_idle_timeout_millsec = 100
|
||||
|
||||
########################### Http Route settings ##############################
|
||||
### Attention, the maximum path length per route is reduced to 1. Longer paths,
|
||||
### such as /controller/add/ are not allowed and cause errors
|
||||
|
||||
### All routes that work with JSON documents must always have an end slash in
|
||||
### the name such as /add"/"
|
||||
|
||||
# All Controller parameter -> STATIC
|
||||
ctrl_add_path = /add/
|
||||
ctrl_get_path = /get/
|
||||
ctrl_del_path = /del/
|
||||
ctrl_tree_path = /tree
|
||||
ctrl_version_path = /version
|
||||
37
kvmstoreserver_installer/data/init/kvmstoreserver.service
Normal file
37
kvmstoreserver_installer/data/init/kvmstoreserver.service
Normal file
@@ -0,0 +1,37 @@
|
||||
#**************************************************************************************
|
||||
#*
|
||||
#* Project: kvmstoreserver
|
||||
#* File name: kvmstoreserver.service
|
||||
#* Version: 1.0.0
|
||||
#* Date: 2018-02-06
|
||||
#*
|
||||
#* Autor: Bogdanovic Theodor
|
||||
#* Contact: t.bogdanovic@hotmail.com
|
||||
#*
|
||||
#* License: GPLv3
|
||||
#*
|
||||
#**************************************************************************************
|
||||
#**************************************************************************************
|
||||
#* Further explanations: This source code is under the license specified by the
|
||||
#* Autor above. Core components or other packages are still
|
||||
#* in source code form, under the license specified by the
|
||||
#* respective author.
|
||||
#*
|
||||
#**************************************************************************************
|
||||
|
||||
[Unit]
|
||||
Description=KVM Store Server
|
||||
Wants=network.target network-online.target autofs.service
|
||||
After=network.target network-online.target autofs.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=kvmstoreserver
|
||||
ExecStart=/home/kvmstoreserver/kvmstoreserver/bin/kvmstoreserver -config /home/kvmstoreserver/kvmstoreserver/etc/kvmstoreserver.conf
|
||||
LimitNOFILE=500000
|
||||
LimitNPROC=500000
|
||||
Nice=-10
|
||||
PIDFile=/var/run/kvmstoreserver.pid
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
BIN
kvmstoreserver_installer/data/utils/inject_disk
Normal file
BIN
kvmstoreserver_installer/data/utils/inject_disk
Normal file
Binary file not shown.
Reference in New Issue
Block a user