Marc Lennox
284503899a
Added start-stop-daemon support.
2013-05-03 12:54:08 -04:00
David Dollar
da0a9f2de3
Merge pull request #294 from bfulton/master
...
add systemd export
2013-04-22 20:37:39 -07:00
David Dollar
403d40b277
Revert "Merge pull request #292 from andrewsmedina/master"
...
Does not pass tests
This reverts commit 17a8a316b8 , reversing
changes made to 9e1d590734 .
2013-04-15 15:31:38 -04:00
Bright Fulton
d357197718
better default for things which intentionally daemonize child processes, the default KillMode is control-group which survives daemonization
2013-04-15 14:43:02 -04:00
bfulton
f6b57d7b92
rough draft for systemd export support
...
http://0pointer.de/blog/projects/systemd.html
This adds support for exporting systemd targets and services. The
structure is based on the existing upstart support.
Quality is draft and expected to refine in the coming weeks.
One Foremanism that is not respected by these export templates is the
usual log output location, instead stdout and stderr go to syslog.
2013-04-15 14:43:02 -04:00
David Dollar
17a8a316b8
Merge pull request #292 from andrewsmedina/master
...
circus support
2013-04-14 08:30:17 -07:00
Andrews Medina
9325f2ca6d
add circus support
2012-11-29 00:15:01 -02:00
Nick Messick
9a91e5df44
use "start|stop\ on runlevel [x]" for upstart config
2012-09-24 18:18:05 -07:00
Aaron Kalin
1d06124457
Add StandardOutPath to launchd export
2012-09-11 15:04:15 -05:00
Aaron Kalin
698e6ae092
Add command argument string splitting
...
launchd uses exec() under the hood when you specify ProgramArguments
or Program so you must break apart program arguments into separate
strings in an array or the command will fail
2012-09-10 19:10:47 -05:00
Aaron Kalin
c617ddb3b2
Cleanup launchd exporter
...
Also suppresses the deprecation warning for the launchd exporter when
using port instead of engine.port_for
2012-09-10 18:21:51 -05:00
Aaron Kalin
f29bf49a35
Add support for setting environment variables
2012-09-05 18:27:10 -05:00
David Dollar
f765436dde
fix errant space
2012-08-21 10:58:00 -04:00
Aditya Sanghi
ee761ff098
Another fix for PR #229
2012-08-21 20:16:28 +05:30
Aditya Sanghi
cc4306492e
run on reboot works with network-interface not network
2012-08-12 14:17:39 +05:30
David Dollar
584f251e4a
wrap command in a runner that sources .profile.d scripts
2012-07-24 11:09:54 -04:00
David Dollar
fba4d9beff
Merge pull request #229 from danielfarrell/autostart-upstart
...
Make upstart export start/stop with network
2012-07-18 13:55:01 -07:00
Daniel Farrell
0bde5fdab5
Make upstart export start/stop with network
2012-07-18 16:50:49 -04:00
David Dollar
f8118d7b40
better debugging
2012-07-11 15:04:30 -04:00
David Dollar
51a704939e
massive refactoring for programmatic control and stability
2012-06-10 22:58:09 -04:00
David Dollar
efd9e2119b
Merge pull request #173 from Viximo/feature/escape-env
...
Quote and escape environment variables in upstart templates
2012-06-07 19:43:20 -07:00
David Dollar
bf9bdbf118
Merge pull request #194 from maxpow4h/master
...
Added launchd to exporters
2012-06-07 19:41:23 -07:00
Aneeth
32db70b778
Updated data/export/bluepill/master.pill.erb to read in the environment variables from the foreman .env file and reflect it in the pill file
2012-05-04 15:53:16 +08:00
Maxwell Swadling
3db1ad6fbc
Added launchd exporter
2012-05-04 15:21:16 +10:00
Patrick Tescher
2a896a0fb5
Add stop_grace_time to bluepill config. Fixes this error message:
...
Config Error: Stop_grace_time should be greater than the sum of stop_signals delays!
Changed bluepill spec example files to include stop_grace_time
2012-05-03 12:11:24 -07:00
David Dollar
1325b6750e
make var output order repeatable
2012-04-23 15:53:59 -04:00
David Dollar
ce3003b026
factor out wrap_environment
2012-04-20 17:40:53 -04:00
Raphael Randschau
b721fd894e
per default wrap every environment value in quotes
2012-04-20 21:15:43 +02:00
Raphael Randschau
dbda63263b
fix supervisord export for environments containing commas
2012-04-20 09:11:25 +02:00
Matt Griffin
2fcb64959b
Quote and escape environment variables in upstart templates
2012-04-03 16:36:18 -04:00
Raphael Randschau
1217ef1b56
fix typo
2012-03-05 15:51:10 +01:00
Raphael Randschau
c9943d70ec
add group support for supervisord
2012-03-05 15:48:40 +01:00
Raphael Randschau
08dca57eb4
fix enviroment export
2012-02-25 17:24:27 +01:00
Raphael Randschau
279a251c78
fix whitespaces
2012-02-24 20:29:16 +01:00
Raphael Randschau
a49ef286e8
all specs are passing
2012-02-24 20:18:38 +01:00
Raphael Randschau
0b3da59947
passing first export
2012-02-24 19:52:18 +01:00
Raphael Randschau
1127551369
rename supervisord base template to app
...
add supervisord stub
2012-02-23 17:24:08 +01:00
Raphael Randschau
d03e931b67
add supervisord export engine
2012-02-23 17:10:57 +01:00
Raphael Randschau
9ba2b32b36
add supervisord base template
2012-02-23 17:02:59 +01:00
David Dollar
0147f5d284
set up example procfile with utf8 item
2012-01-29 13:56:22 -05:00
Chris Lowder
a0a2dd9454
Don't expose the options hash.
2012-01-24 15:10:25 +00:00
David Dollar
5436b68cf1
wip
2011-12-08 17:53:13 -08:00
Matthijs Langenberg
676d3ff8d1
Add runit export format.
...
Fix #28
2011-11-08 23:50:33 +01:00
David Dollar
d26ca669a1
define procfile regex, refactoring
2011-10-04 10:38:13 -04:00
David Dollar
51376058d4
fix procfile to be compatible with non-unix
2011-09-12 19:07:14 -04:00
David Dollar
b25dfee62d
Merge pull request #59 from hunter/bluepill
...
Bluepill export
2011-09-09 13:56:02 -07:00
Thom May
6da8aca609
foreman erb doesn't have the -%> extension enabled.
2011-09-07 15:40:33 +01:00
Thom May
9df93a64cc
Export environment to upstart jobs
2011-09-07 15:40:17 +01:00
Hunter Nield
9db97abb10
Updates to get Bluepill export working & tweaks to output
2011-08-25 21:17:00 +10:00
Hunter Nield
21a041527c
Added basic support for Bluepill
2011-08-22 21:24:34 +10:00