JSPM

curlstarter

1.0.3
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 20
    • Score
      100M100P100Q38693F
    • License ISC

    Very simple monitoring solution. If it gets anything but a 200 status code on an http response it restarts the desired process.

    Package Exports

    • curlstarter

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (curlstarter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    curlstarter

    A simple web monitoring solution. No 200 == restart.

    npm install -g curlstarter

    To see the options of curl starter just execute it with --help

    curlstarter --help

    Play with it till you get the args right and then set it up to launch system start. Here is a simple example

    curlstarter --url "http://google.com" -s "ls -al"