add sehistory config to be updated

This commit is contained in:
2025-05-06 10:43:47 +02:00
parent 645a1e1198
commit 1c3c02ccad
2 changed files with 12 additions and 0 deletions

11
cfg/sehistory Normal file
View File

@ -0,0 +1,11 @@
[local]
uri=http://localhost:8086
bucket=sehistory
org=linse
token=lZpLL_FrPw3cgkeuOWo_DcwjFZerrVTa1QQk6bcjSOYgjQ8W0eyvsp4Z4FULvsz2XEWTZZ8OPengYfLaWU-gdA==
[central]
uri=http://linse-c:8086
bucket=sehistory
org=linse
token=ggo2cRoCIkgniXdUGi-s6oxXJPPDzgKEFHh6PXuBg1QQa3aBo36tGFP_6cf50FRNoDQgGcelh3xBM5QsVw4rHA==

View File

@ -314,6 +314,7 @@ def do_feeder():
"""history feeder"""
if check_repo(home, 'sehistory', None, 'master'):
do('git pull')
docopy('cfg/sehistory', join(home, '.config', 'sehistory'))
def do_seweb():