Post
Topic
Board Announcements (Altcoins)
Re: [ANN] AIRDROP | MASTERNODE | X11 | LOW PREMINE | IDAPAY for innovation!
by
darkso
on 04/03/2018, 15:01:56 UTC
hi guys! if someone needs sentifel for masternode

https://github.com/darksus/idapay-sentinel.git

Installation
1. Install Prerequisites
Make sure Python version 2.7.x or above is installed:

Code:
python --version
Update system packages and ensure virtualenv is installed:

Code:
$ sudo apt-get update
$ sudo apt-get -y install python-virtualenv
Make sure the local Idapay daemon running is at least version 12.1 (120100)

Code:
$ idapay-cli getinfo | grep version

2. Install Sentinel
Clone the Sentinel repo and install Python dependencies.

Code:
$ git clone https://github.com/darksus/idapay-sentinel.git && cd sentinel
$ virtualenv ./venv
$ ./venv/bin/pip install -r requirements.txt

3. Set up Cron
Set up a crontab entry to call Sentinel every minute:

Code:
$ crontab -e

In the crontab editor, add the lines below, replacing '/home/YOURUSERNAME/sentinel' to the path where you cloned sentinel to:

Code:
* * * * * cd /home/YOURUSERNAME/sentinel && ./venv/bin/python bin/sentinel.py >/dev/null 2>&1

Configuration
An alternative (non-default) path to the idapay.conf file can be specified in sentinel.conf:

Code:
idapay_conf=/path/to/idapay.conf


donations: CnX6jjcc3MpZ6ST3mHQ3G2oh9DC2wnBgXq