Description

Ensures that a given program runs continuously

Package Information

Version0.1.1 (2017-Feb-09)
Homepage https://github.com/Extrawurst/forever-d
Repository https://github.com/Extrawurst/forever-d
LicenseMIT
CopyrightCopyright © 2014, Stephan Dilly
AuthorsStephan Dilly
Registered byExtrawurst
Dependencies none

Installation

To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Readme

forever-d Build Status

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.

Available versions

0.1.1 0.1.0 0.0.7 0.0.6 0.0.5 0.0.4 0.0.3 0.0.2 0.0.1 ~master