mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
tools: don't remove tdb data base file before starting xenstored
As xenstored now is always starting with an empty tdb data base there is no need any longer to remove the file before starting xenstored. Signed-off-by: Juergen Gross <jgross@suse.com> Acked-by: Wei Liu <wei.liu2@citrix.com>
This commit is contained in:
1 parent
388d3011d1
commit
2ef6ace428
1 file changed
-1
@@ -54,7 +54,6 @@ test -f @CONFIG_DIR@/@CONFIG_LEAF_DIR@/xencommons && . @CONFIG_DIR@/@CONFIG_LEAF
|
||||
|
||||
[ "$XENSTORETYPE" = "daemon" ] && {
|
||||
[ -z "$XENSTORED_ROOTDIR" ] && XENSTORED_ROOTDIR="@XEN_LIB_STORED@"
|
||||
/bin/rm -f $XENSTORED_ROOTDIR/tdb* &>/dev/null
|
||||
[ -z "$XENSTORED_TRACE" ] || XENSTORED_ARGS="$XENSTORED_ARGS -T @XEN_LOG_DIR@/xenstored-trace.log"
|
||||
[ -z "$XENSTORED" ] && XENSTORED=@XENSTORED@
|
||||
[ -x "$XENSTORED" ] || {
|
||||
|
||||