projects
/
sysadmin-cookbook
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a75f99
)
remount rootfs before start to fix debian upgrades
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 24 Mar 2011 16:40:46 +0000
(16:40 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 24 Mar 2011 16:40:46 +0000
(16:40 +0000)
git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@243
191e9f34
-6774-4a6d-acfc-
7664dacd4a2a
recepies/lxc/lxc-watchdog.sh
patch
|
blob
|
history
diff --git
a/recepies/lxc/lxc-watchdog.sh
b/recepies/lxc/lxc-watchdog.sh
index
9fc1600
..
5c821fa
100755
(executable)
--- a/
recepies/lxc/lxc-watchdog.sh
+++ b/
recepies/lxc/lxc-watchdog.sh
@@
-133,6
+133,7
@@
lxc_start() {
if ! lxc-info -n $name | grep RUNNING ; then
lxc_log "$name start"
+ mount $rootfs -o remount,rw # fix debian upgrade which remounts dir ro
lxc-start -n $name -o /tmp/${name}.log -d
lxc-wait -n $name -s RUNNING
lxc-info -n $name