https://github.com/likema/vps-online-keeper
Boot cheap VPS if it is offline
https://github.com/likema/vps-online-keeper
Last synced: 11 months ago
JSON representation
Boot cheap VPS if it is offline
- Host: GitHub
- URL: https://github.com/likema/vps-online-keeper
- Owner: likema
- Created: 2014-06-19T06:56:45.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-07-03T16:06:08.000Z (almost 12 years ago)
- Last Synced: 2025-07-13T04:40:49.855Z (11 months ago)
- Language: Python
- Homepage:
- Size: 195 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vps-online-keeper
The cheap VPS (Virtual private server) would go offline silently sometimes. The utility script will boot VPS if it is offline.
Currently, it supports
* [ChicagoVPS](http://www.chicagovps.net/)
* [BlueVM](https://www.bluevm.com/)
* [URPad](http://urpad.net/)
* [123system](https://123systems.net/)
## Installation
Install by pip:
pip install vps-online-keeper
or download the latest version from github:
git clone git://github.com/likema/vps-online-keeper.git
cd vps-online-keeper
If running source code under Debian/Ubuntu, please install dependencies by
sudo apt-get install python-beautifulsoup python-requests python-gevent
## Usage
boot\_vps command line arguments:
* -t|--type {chicagovps,bluevm} The type of VPS
* -u|--username USERNAME The username of VPS client area
* -p|--password PASSWORD The password of VPS client area
* -c|--cookies-dir COOKIES\_DIR The directory to store http cookies, default: cookies
e.g.
./boot_vps -t chicagovps -u -p
For keeping your VPS online, your can add the above command into cron by
crontab -e
*/15 * * * * /boot_vps -t chicagovps -u -p
and it will be run every 15 minutes.