Cross Reference:
xref
: /
lxc
/
config
/
init
/
upstart
/
lxc.conf
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
lxc.conf revision e582991fd00734436ad0cc95c42cc3d16fd3d229
70
N/A
description
"lxc"
70
N/A
author
"Serge Hallyn <serge.hallyn@canonical.com>"
98
N/A
70
N/A
start
on
runlevel
[
2345
]
70
N/A
stop
on
starting
rc
RUNLEVEL
=[
016
]
70
N/A
70
N/A
env
LXC_AUTO
=
"false"
70
N/A
70
N/A
pre
-
start
script
70
N/A
[ -f /
etc
/
default
/
lxc
] && . /
etc
/
default
/
lxc
70
N/A
70
N/A
# don't load profiles if mount mediation is not supported
70
N/A
SYSF
=/
sys
/
kernel
/
security
/
apparmor
/
features
/
mount
/
mask
70
N/A
if
[ -f
$SYSF
];
then
70
N/A
if
[ -x /
lib
/
init
/
apparmor-profile-load
];
then
70
N/A
/
lib
/
init
/
apparmor-profile-load
usr.bin.lxc
-
start
70
N/A
/
lib
/
init
/
apparmor-profile-load
lxc
-
containers
70
N/A
fi
70
N/A
fi
70
N/A
70
N/A
[
"x
$LXC_AUTO
"
=
"xtrue"
] ||
exit
0
70
N/A
70
N/A
lxc
-
autostart
-L |
while
read
line
;
do
70
N/A
set
--
$line
70
N/A
(
start
lxc
-
instance
NAME
=$
1
&&
sleep
$
2
)
||
true
70
N/A
done
70
N/A
end
script
70
N/A
70
N/A
post
-
stop
script
70
N/A
lxc
-
autostart
-a -A -s ||
true
262
N/A
end
script
70
N/A