git://git.onelab.eu
/
lxc-reference.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
handle chkconfig so the service gets started - should work on f14 at least
[lxc-reference.git]
/
lxc-reference.spec
diff --git
a/lxc-reference.spec
b/lxc-reference.spec
index
1fccf02
..
9f48625
100644
(file)
--- a/
lxc-reference.spec
+++ b/
lxc-reference.spec
@@
-30,7
+30,9
@@
install -D -m 755 initscript/lxc-reference ${RPM_BUILD_ROOT}/%{_initrddir}/lxc-r
popd
%post
popd
%post
-service lxc-reference restart
+chkconfig --add lxc-reference
+chkconfig lxc-reference on
+[ "$PL_BOOTCD" = "1" ] || service lxc-reference restart
%preun
btrfs subvolume delete /vservers/.lvref/lxc-f14-x86_64
%preun
btrfs subvolume delete /vservers/.lvref/lxc-f14-x86_64