Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.38 KB

README.md

File metadata and controls

50 lines (38 loc) · 1.38 KB

noip-renewer

Send pushbullet notifications if No-IP hosts need renewal

Installation

$ mkdir drivers
$ cd drivers
$ wget http://security.debian.org/debian-security/pool/updates/main/c/chromium/chromium-driver_79.0.3945.130-1~deb10u1_armhf.deb
$ mkdir extract
$ dpkg-deb -R chromium-driver_79.0.3945.130-1~deb10u1_armhf.deb extract
$ mv extract/usr/local/bin/chromedriver chromium-driver_79.0.3945.130-1
$ chmod u+x chromium-driver_79.0.3945.130-1
$ mv chromium-driver_79.0.3945.130-1 ../chromium-driver
$ sudo apt-get install libminizip1 libwebpmux3 libgtk-3-0 libxss1 libre2-5 chromium-browser
$ wget http://security-cdn.debian.org/debian-security/pool/updates/main/c/chromium/chromium_79.0.3945.130-1~deb10u1_armhf.deb
$ sudo dpkg -i chromium_79.0.3945.130-1~deb10u1_armhf.deb
$ sudo apt-get install -f

Virtualenv

$ virtualenv -p python3 ./env
$ source env/bin/activate
$ pip install --upgrade pip
$ pip install --upgrade setuptools
$ pip3 install -U -r requirements.txt

Usage

$ python3 noip.py 

Crontab

Change the first line of noip.py to the path of the virtualenv:

#!/home/user/projects/noip-renewer/env/bin/python

Add to the crontab this:

30 02 */2 * * /usr/bin/env bash -c 'cd /home/user/projects/noip-renewer && ./noip.py' > /dev/null 2>&1

Software