systemd.slice.xml revision d868475ad62547f0a034dfaf038aff31b3d05372
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim<?xml-stylesheet type="text/xsl" href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"?>
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jimThis file is part of systemd.
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jimCopyright 2013 Zbigniew Jędrzejewski-Szmek
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jimsystemd is free software; you can redistribute it and/or modify it
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jimunder the terms of the GNU Lesser General Public License as published by
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jimthe Free Software Foundation; either version 2.1 of the License, or
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim(at your option) any later version.
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jimsystemd is distributed in the hope that it will be useful, but
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jimWITHOUT ANY WARRANTY; without even the implied warranty of
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jimMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jimLesser General Public License for more details.
12b170a812f740fafc96da32a188a8b2761a3d5cjimYou should have received a copy of the GNU Lesser General Public License
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jimalong with systemd; If not, see <http://www.gnu.org/licenses/>.
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin <refentryinfo>
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim <authorgroup>
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim </authorgroup>
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim </refentryinfo>
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin <refnamediv>
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin </refnamediv>
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin <refsynopsisdiv>
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim <para><filename><replaceable>slice</replaceable>.slice</filename></para>
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim </refsynopsisdiv>
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim <refsect1>
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim <para>A unit configuration file whose name ends in
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim <literal>.slice</literal> encodes information about a slice
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim created by systemd to manage resources used by a certain group of
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim processes. This management is performed by creating a node in the
834fc281be8e0f7f2614961f12d8bbf603382a17jfclere control group tree. Those processes are part of different units,
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim <citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>).
4efeaf392b8e7584b7fe240e8c6116837c3f54bajim <citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>
4efeaf392b8e7584b7fe240e8c6116837c3f54bajim for the common options of all unit configuration
4efeaf392b8e7584b7fe240e8c6116837c3f54bajim files. The common configuration items are configured
4efeaf392b8e7584b7fe240e8c6116837c3f54bajim in the generic [Unit] and [Install] sections. The
4efeaf392b8e7584b7fe240e8c6116837c3f54bajim slice specific configuration options are configured in
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim the [Slice] section. Currently, only generic cgroup settings
4efeaf392b8e7584b7fe240e8c6116837c3f54bajim as described in
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim <citerefentry><refentrytitle>systemd.cgroup</refentrytitle><manvolnum>7</manvolnum></citerefentry> are allowed.
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim <para>Unless <varname>DefaultDependencies=false</varname>
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim is used, slice units will implicitly have dependencies of
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin that slice units are removed prior to system
4ab0fd1b54ce76f0fb6812b89b0b4dc7541014d6minfrin shutdown. Only slice units involved with early boot or
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim late system shutdown should disable this option.
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim </refsect1>
834fc281be8e0f7f2614961f12d8bbf603382a17jfclere <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
5bfaaf573bacb45c1cf290ce85ecc676587e8a64jim <citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim <citerefentry><refentrytitle>systemd.cgroup</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
834fc281be8e0f7f2614961f12d8bbf603382a17jfclere <citerefentry><refentrytitle>systemd.service</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
834fc281be8e0f7f2614961f12d8bbf603382a17jfclere <citerefentry><refentrytitle>systemd.directives</refentrytitle><manvolnum>7</manvolnum></citerefentry>.
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim </refsect1>
dfcadcd3e6bbdee594540b8f8e4e50586a2e3219jim</refentry>