Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including pimatic-watchdog-unix with all npm packages installed. Try it out:

require("pimatic/package.json"); // pimatic is a peer dependency. var pimaticWatchdogUnix = require("pimatic-watchdog-unix")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

pimatic-watchdog-unix v0.0.1

Pimatic plugin which adds a simple watchdog on unix systems.

Pimatic Watchdog Unix plugin

This plugin adds a simple watchdog to pimatic for unix based systems (as it is using bash)

It can do the following:

  • Check if pimatic process is still running
  • Check if pimatic is still reachable via webinterface
  • Restart pimatic if one of the above fails
  • Reboot the machine if restart of pimatic fails

Example config.json entries:

      "plugin": "watchdog-unix",
      "processEnabled": true,
      "httpURL": "",
      "httpEnabled": true,
      "active": true
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free