spawndir alternatives and similar packages
Based on the "Miscellaneous" category.
Alternatively, view spawndir alternatives based on common mentions on social networks and blogs.
-
ex_rated
ExRated, the Elixir OTP GenServer with the naughty name that allows you to rate-limit calls to any service that requires it. -
gen_task
Generic Task behavior that helps encapsulate errors and recover from them in classic GenStage workers. -
countriex
All sorts of useful information about every country. A pure elixir port of the ruby Countries gem
InfluxDB - Power Real-Time Data Analytics at Scale
Do you think we are missing an alternative of spawndir or a related project?
README
SpawnDir
Spawns commands from the file system. This exists to provide a simple mechanism for spawning and managing processes: simply add an executable, or a symbolic link to one, to a monitored directory. The config allows arguments to be specified by file or directory.
While not as flexible as upstart, monit, et al., SpawnDir's use of the filesystem provides a simpler UNIX-ish interface.
Usage
To use the escript executable:
./spawndir DIR [ARGS ...]
where DIR
is the directory to be monitored, and each command
will be started with the supplied ARGS
To run using mix:
mix run --no-halt
You can configure what is watched via the :spawndir
application
environment variables:
:default_opts :: [opt]
:watch :: [cmd | {cmd, [opt]}]
where opt :: string()
cmd :: string()
Future Additions
- Check for executable flag
- Package installation
- Monitor filesystem for commands being added/removed
Copyright (c) Thomas Moulia, 2014