update
This commit is contained in:
parent
52dc2210a4
commit
fdf0c4e02f
|
|
@ -288,7 +288,7 @@ def initdUinstall():
|
|||
|
||||
|
||||
def runLog():
|
||||
return getServerDir() + '/data/redis.log'
|
||||
return getServerDir() + '/' + getPluginName() + '.log'
|
||||
|
||||
|
||||
def getRedisConfInfo():
|
||||
|
|
@ -376,9 +376,5 @@ if __name__ == "__main__":
|
|||
print(getConf())
|
||||
elif func == 'run_log':
|
||||
print(runLog())
|
||||
elif func == 'get_redis_conf':
|
||||
print(getRedisConf())
|
||||
elif func == 'submit_redis_conf':
|
||||
print(submitRedisConf())
|
||||
else:
|
||||
print('error')
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ Type=forking
|
|||
ExecStart={$SERVER_PATH}/keepalived/sbin/keepalived -D
|
||||
ExecReload=/bin/kill -USR1 $MAINPID
|
||||
Restart=on-failure
|
||||
StandardOutput={$SERVER_PATH}/keepalived/keepalived.log
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Reference in New Issue