24 lines
356 B
Markdown
24 lines
356 B
Markdown
|
# Maintenance
|
||
|
|
||
|
## Upgrading
|
||
|
```
|
||
|
su - atextcrawler
|
||
|
pip3 install --user --upgrade pipenv
|
||
|
cd repo
|
||
|
git pull
|
||
|
pipenv sync
|
||
|
systemctl restart atextcrawler
|
||
|
```
|
||
|
|
||
|
## Update tldextract
|
||
|
From time to time run (in the Python virtualenv):
|
||
|
```
|
||
|
tldextract --update
|
||
|
```
|
||
|
or
|
||
|
```
|
||
|
systemctl stop atextcrawler
|
||
|
rm -r $HOME/.cache/python-tldextract
|
||
|
systemctl start atextcrawler
|
||
|
```
|