Skip to content

Commit

Permalink
Merge branch 'master' into docs-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tayzlor committed Mar 9, 2016
2 parents 0dc0da1 + 5751ccf commit ea3daaa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions roles/mesos/templates/mesos-slave.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ ExecStart=/usr/bin/docker run --rm --name mesos_slave \
-e "MESOS_WORK_DIR={{ mesos_slave_work_dir }}" \
-e "MESOS_LOG_DIR=/var/log/mesos" \
-e "MESOS_HOSTNAME={{ mesos_hostname }}" \
-e "MESOS_ISOLATION=cgroups/cpu,cgroups/mem" \
-e "MESOS_CGROUPS_ROOT=system.slice/mesos-slave.service" \
-e "MESOS_CGROUPS_HIERARCHY=/sys/fs/cgroup" \
{{ mesos_slave_image }}

ExecStop=/usr/bin/docker stop mesos_slave
Expand Down

0 comments on commit ea3daaa

Please sign in to comment.