Updated documentation for Systemd's parameter `delegate`
This closes #398
diff --git a/docs/mesos-containerizer.md b/docs/mesos-containerizer.md
index c632550..9a7b25d 100644
--- a/docs/mesos-containerizer.md
+++ b/docs/mesos-containerizer.md
@@ -66,3 +66,14 @@
- [volume/secret](secrets.md#file-based-secrets)
- [windows/cpu](isolators/windows.md#cpu-limits)
- [windows/mem](isolators/windows.md#memory-limits)
+
+## Systemd Integration
+
+To prevent systemd from manipulating cgroups managed by the agent,
+it's recommended to add 'Delegate' under 'Service' in the service
+unit file of Mesos agent, for example:
+
+```
+[Service]
+Delegate=true
+```
diff --git a/support/packaging/common/mesos-slave.service b/support/packaging/common/mesos-slave.service
index 99c2728..a3d9320 100644
--- a/support/packaging/common/mesos-slave.service
+++ b/support/packaging/common/mesos-slave.service
@@ -11,6 +11,7 @@
LimitNOFILE=16384
CPUAccounting=true
MemoryAccounting=true
+Delegate=true
[Install]
WantedBy=multi-user.target