New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bitcoind-watchdog

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitcoind-watchdog

Bitcoind watchdog process

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-16.67%
Maintainers
1
Weekly downloads
 
Created
Source

bitcoind-watchdog

NodeJS process designed to run on top of (ndt)[https://github.com/nullivex/ndt]

Installation

We assume you already have bitcoind installed and available on your system.

We also assume you already have node and npm installed and available.

Next we want daemontools to run ndt.

On Debian (adapt as neccessary)

$ apt-get install daemontools daemontools-run
$ ln -s /etc/service /service

Now we need ndt and bitcoind-watchdog

$ npm -g install ndt bitcoind-watchdog

Now we want ndt to use bitcoind watchdog or you can use it in the foreground

foreground

$ bitcoind-watchdog -i 300 //restart every 300 seconds 5 mins
<ctl + c to shutdown>

background

We need to setup ndt for this

$ mkdir /opt/bitcoind-watchdog
$ cd /opt/bitcoind-watchdog
``

Make `/opt/bitcoind-watchdog/dt.json` like so

```json
{
  "name": "bitcoind-watchdog",
  "cwd": "/opt/bitcoind-watchdog",
  "user": "root",
  "command": "bitcoind-watchdog",
  "env": {
    "NODE_ENV": "production"
  },
  "log": {
    "user": "root",
    "command": "multilog s16777215 t /opt/bitcoind-watchdog/log"
  }
}

Now install it

$ cd /opt/bitcoind-watchdog
$ ndt install
$ ndt save

It should be running now see tail -f /opt/bitcoind-watchdog/log/current

This will now start on reboots and automatically watch and restart the process.

Changelog

0.1.0

  • Initial Release

Keywords

FAQs

Package last updated on 24 Dec 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc