lxc.conf revision e582991fd00734436ad0cc95c42cc3d16fd3d229
70N/Adescription "lxc"
70N/Aauthor "Serge Hallyn <serge.hallyn@canonical.com>"
98N/A
70N/Astart on runlevel [2345]
70N/Astop on starting rc RUNLEVEL=[016]
70N/A
70N/Aenv LXC_AUTO="false"
70N/A
70N/Apre-start script
70N/A [ -f /etc/default/lxc ] && . /etc/default/lxc
70N/A
70N/A # don't load profiles if mount mediation is not supported
70N/A SYSF=/sys/kernel/security/apparmor/features/mount/mask
70N/A if [ -f $SYSF ]; then
70N/A if [ -x /lib/init/apparmor-profile-load ]; then
70N/A /lib/init/apparmor-profile-load usr.bin.lxc-start
70N/A /lib/init/apparmor-profile-load lxc-containers
70N/A fi
70N/A fi
70N/A
70N/A [ "x$LXC_AUTO" = "xtrue" ] || exit 0
70N/A
70N/A lxc-autostart -L | while read line; do
70N/A set -- $line
70N/A (start lxc-instance NAME=$1 && sleep $2) || true
70N/A done
70N/Aend script
70N/A
70N/Apost-stop script
70N/A lxc-autostart -a -A -s || true
262N/Aend script
70N/A