forever-d 0.1.1
Ensures that a given program runs continuously
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
forever-d
Ensures that a given program runs continuously.
This project is inspired by forever for nodejs: https://github.com/nodejitsu/forever
Currently the usage is:
$ forever-d [options] [program] <Arguments...>
options:
-m -max Max runs of [program]. default is 0 (unlimited)
-min-uptime Minimum time in milliseconds program needs to run so it will restart again. (Defaults to 1000)
-l -log File to print [program] std-out to. By default it's printed to stdout of forever-d
-e -err File to print [program] std-err to. By default it's printed to stdout of forever-d
-script Script run on process restart. Use [script-env] ENV variables in there.
script-env:
FD_EXITCODE exit code of [program]
FD_RESTARTS number of restarts
FD_CMDLINE the actual cmd line used for [program]
This project is written in the D programming language and supports the DUB package format.
- Registered by Extrawurst
- 0.1.1 released 7 years ago
- Extrawurst/forever-d
- github.com/Extrawurst/forever-d
- MIT
- Copyright © 2014, Stephan Dilly
- Authors:
- Dependencies:
- none
- Versions:
-
0.1.1 2017-Feb-09 0.1.0 2016-May-16 0.0.7 2013-Nov-27 0.0.6 2013-Nov-26 0.0.5 2013-Nov-24 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
333 downloads total
-
- Score:
- 1.2
- Short URL:
- forever-d.dub.pm