aboutsummaryrefslogtreecommitdiffstats
path: root/main/lxc/lxc.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-10-24 13:39:19 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-24 13:46:42 +0200
commitc2c01c0d47d32e99583273d3cb2df0a7253358e9 (patch)
tree1e11307acec01c1aa9649020d9925d320888323e /main/lxc/lxc.initd
parent98a0ca23f55dd89aa8c59e212d61ce131a320d12 (diff)
main/lxc: add various fixes for alpine template and improve init.d messages
ref #2293
Diffstat (limited to 'main/lxc/lxc.initd')
-rw-r--r--main/lxc/lxc.initd8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/lxc/lxc.initd b/main/lxc/lxc.initd
index 31bfbd44ca0..ae844872a55 100644
--- a/main/lxc/lxc.initd
+++ b/main/lxc/lxc.initd
@@ -58,7 +58,7 @@ start() {
rootpath=$(lxc_get_var lxc.rootfs)
checkpath -d ${pidfile%/*}
- ebegin "Starting ${CONTAINER}"
+ ebegin "Starting container ${CONTAINER}"
start-stop-daemon --start $command \
--pidfile $pidfile \
--wait 500 \
@@ -75,20 +75,20 @@ start() {
stop() {
checkconfig || return 1
- ebegin "Shutting down system in ${CONTAINER}"
+ ebegin "Shutting down system in container ${CONTAINER}"
start-stop-daemon --stop --pidfile ${pidfile} \
--retry ${POWEROFF_SIGNAL:-SIGUSR2}/${TIMEOUT:-30} \
--progress
eend $?
- ebegin "Stopping ${CONTAINER}"
+ ebegin "Stopping containter ${CONTAINER}"
lxc-stop -n ${CONTAINER}
eend $?
}
reboot() {
checkconfig || return 1
- ebegin "Sending reboot signal to $CONTAINER"
+ ebegin "Sending reboot signal to container $CONTAINER"
start-stop-daemon --signal ${RESTART_SIG:-SIGTERM} \
--pidfile ${pidfile}
eend $?