Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to change telegramid #8

Open
aadilpktapps opened this issue Jan 11, 2021 · 1 comment
Open

Unable to change telegramid #8

aadilpktapps opened this issue Jan 11, 2021 · 1 comment

Comments

@aadilpktapps
Copy link

Once I run the script and later on if I want to change the telegram id I am unable to do so with the following command

export TELEGRAM_CHAT_ID=1286831536

It keeps sending a notification to old telegram id

@kaustubhkapatral
Copy link
Member

@aadilpktapps export TELEGRAM_CHAT_ID=1286831536 Is just used for setting the env variable. The script uses this env variable to initialize the config file. Once the config file is initiliazed just exporting the chat id again will serve no purpose. If you want to change/modify any config values, edit the config.toml present in ~/.matic-jagar/config/ directory. Once the changes to the config file are made, restart the systemd service of tool using sudo systemctl restart matic_jagar.service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants