Repository: aurora-packaging Updated Branches: refs/heads/master 722a53797 -> 0a77fbf23
Support for overriding --mesos-root under upstart. Previously only the sysv init script supported overriding `--mesos-root` via an env var, and thus via `/etc/default/thermos`. Bugs closed: AURORA-1647 Reviewed at https://reviews.apache.org/r/45179/ Project: http://git-wip-us.apache.org/repos/asf/aurora-packaging/repo Commit: http://git-wip-us.apache.org/repos/asf/aurora-packaging/commit/0a77fbf2 Tree: http://git-wip-us.apache.org/repos/asf/aurora-packaging/tree/0a77fbf2 Diff: http://git-wip-us.apache.org/repos/asf/aurora-packaging/diff/0a77fbf2 Branch: refs/heads/master Commit: 0a77fbf23c0ad1a1b8d528e717bc101a3d6d8258 Parents: 722a537 Author: John Sirois <[email protected]> Authored: Tue Mar 22 17:24:04 2016 -0600 Committer: John Sirois <[email protected]> Committed: Tue Mar 22 17:24:04 2016 -0600 ---------------------------------------------------------------------- specs/debian/aurora-executor.thermos.upstart | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/aurora-packaging/blob/0a77fbf2/specs/debian/aurora-executor.thermos.upstart ---------------------------------------------------------------------- diff --git a/specs/debian/aurora-executor.thermos.upstart b/specs/debian/aurora-executor.thermos.upstart index 7ebe4be..78b11b7 100644 --- a/specs/debian/aurora-executor.thermos.upstart +++ b/specs/debian/aurora-executor.thermos.upstart @@ -22,6 +22,7 @@ script [ -r /etc/default/thermos ] && . /etc/default/thermos exec start-stop-daemon --start --exec /usr/sbin/thermos_observer -- \ --port=${OBSERVER_PORT:-1338} \ + --mesos-root=${MESOS_ROOT:-/var/lib/mesos} \ --log_to_disk=NONE \ --log_to_stderr=google:INFO end script
