adb rename to kvdb
This commit is contained in:
Binary file not shown.
@@ -1,6 +1,6 @@
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/local/bin/adb-server /usr/local/etc/adb/adb.conf
|
||||
ExecStart=/usr/local/bin/kvdb-server /usr/local/etc/kvdb/kvdb.conf
|
||||
ExecStopPost=
|
||||
PIDFile=
|
||||
Restart=always
|
||||
BIN
debbuild/22.04/usr/local/omc/depends/kvdb/usr/local/bin/kvdb-cli
Normal file
BIN
debbuild/22.04/usr/local/omc/depends/kvdb/usr/local/bin/kvdb-cli
Normal file
Binary file not shown.
Binary file not shown.
@@ -304,7 +304,7 @@ daemonize yes
|
||||
#
|
||||
# Creating a pid file is best effort: if Redis is not able to create it
|
||||
# nothing bad happens, the server will start and run normally.
|
||||
pidfile /var/run/adb-server.pid
|
||||
pidfile /var/run/kvdb-server.pid
|
||||
|
||||
# Specify the server verbosity level.
|
||||
# This can be one of:
|
||||
@@ -312,13 +312,14 @@ pidfile /var/run/adb-server.pid
|
||||
# verbose (many rarely useful info, but not a mess like the debug level)
|
||||
# notice (moderately verbose, what you want in production probably)
|
||||
# warning (only very important / critical messages are logged)
|
||||
loglevel notice
|
||||
#loglevel notice
|
||||
loglevel warning
|
||||
|
||||
# Specify the log file name. Also the empty string can be used to force
|
||||
# Redis to log on the standard output. Note that if you use standard
|
||||
# output for logging but daemonize, logs will be sent to /dev/null
|
||||
#logfile /usr/local/etc/adb/log/adb-server.log
|
||||
logfile ""
|
||||
#logfile /usr/local/etc/kvdb/log/kvdb-server.log
|
||||
logfile /usr/local/etc/kvdb/log/kvdb-server.log
|
||||
|
||||
# To enable logging to the system logger, just set 'syslog-enabled' to yes,
|
||||
# and optionally update the other syslog parameters to suit your needs.
|
||||
@@ -471,7 +472,7 @@ rdb-del-sync-files no
|
||||
# The Append Only File will also be created inside this directory.
|
||||
#
|
||||
# Note that you must specify a directory here, not a file name.
|
||||
dir /usr/local/etc/adb
|
||||
dir /usr/local/etc/kvdb
|
||||
|
||||
################################# REPLICATION #################################
|
||||
|
||||
@@ -2081,7 +2082,3 @@ replica-weighting-factor 2
|
||||
# disk space or any other I/O error Redis will instead use memory.
|
||||
#
|
||||
# blob-support false
|
||||
|
||||
# set slave of UDM primary redis
|
||||
slaveof 172.16.5.140 6379
|
||||
masterauth helloearth
|
||||
@@ -84,7 +84,7 @@
|
||||
# mode.
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#bind 127.0.0.1 -::1
|
||||
bind 127.0.0.1 172.16.5.140
|
||||
bind 127.0.0.1
|
||||
|
||||
# Protected mode is a layer of security protection, in order to avoid that
|
||||
# Redis instances left open on the internet are accessed and exploited.
|
||||
@@ -304,7 +304,7 @@ daemonize yes
|
||||
#
|
||||
# Creating a pid file is best effort: if Redis is not able to create it
|
||||
# nothing bad happens, the server will start and run normally.
|
||||
pidfile /var/run/adb-server.pid
|
||||
pidfile /var/run/kvdb-server.pid
|
||||
|
||||
# Specify the server verbosity level.
|
||||
# This can be one of:
|
||||
@@ -312,13 +312,14 @@ pidfile /var/run/adb-server.pid
|
||||
# verbose (many rarely useful info, but not a mess like the debug level)
|
||||
# notice (moderately verbose, what you want in production probably)
|
||||
# warning (only very important / critical messages are logged)
|
||||
loglevel notice
|
||||
#loglevel notice
|
||||
loglevel warning
|
||||
|
||||
# Specify the log file name. Also the empty string can be used to force
|
||||
# Redis to log on the standard output. Note that if you use standard
|
||||
# output for logging but daemonize, logs will be sent to /dev/null
|
||||
#logfile /usr/local/etc/adb/log/adb-server.log
|
||||
logfile ""
|
||||
#logfile /usr/local/etc/kvdb/log/kvdb-server.log
|
||||
logfile /usr/local/etc/kvdb/log/kvdb-server.log
|
||||
|
||||
# To enable logging to the system logger, just set 'syslog-enabled' to yes,
|
||||
# and optionally update the other syslog parameters to suit your needs.
|
||||
@@ -471,7 +472,7 @@ rdb-del-sync-files no
|
||||
# The Append Only File will also be created inside this directory.
|
||||
#
|
||||
# Note that you must specify a directory here, not a file name.
|
||||
dir /usr/local/etc/adb
|
||||
dir /usr/local/etc/kvdb
|
||||
|
||||
################################# REPLICATION #################################
|
||||
|
||||
@@ -502,6 +503,7 @@ dir /usr/local/etc/adb
|
||||
# refuse the replica request.
|
||||
#
|
||||
# masterauth <master-password>
|
||||
masterauth helloearth
|
||||
#
|
||||
# However this is not enough if you are using Redis ACLs (for Redis version
|
||||
# 6 or greater), and the default user is not capable of running the PSYNC
|
||||
@@ -2057,8 +2059,7 @@ server-threads 2
|
||||
# bringing up replicas can result in data loss (the first master will win).
|
||||
# active-replica yes
|
||||
active-replica yes
|
||||
replicaof 172.16.5.141 6379
|
||||
masterauth helloearth
|
||||
replicaof 10.0.0.2 6379
|
||||
|
||||
# Redis will attempt to balance clients across threads evenly; However, replica clients
|
||||
# are usually much more expensive than a normal client, and so Redis will try to assign
|
||||
@@ -2084,7 +2085,3 @@ replica-weighting-factor 2
|
||||
# disk space or any other I/O error Redis will instead use memory.
|
||||
#
|
||||
# blob-support false
|
||||
|
||||
# set slave of UDM primary redis
|
||||
slaveof 172.16.5.140 6379
|
||||
masterauth helloearth
|
||||
Reference in New Issue
Block a user