Permalink
Browse files

* install custom init.d script only when compiled from source

  • Loading branch information...
1 parent 1420f55 commit 11e0b5d544e4c924ed1a4de2ce4c0b152f9ac280 @till committed Jun 15, 2012
Showing with 9 additions and 0 deletions.
  1. +9 −0 gearmand/recipes/source.rb
@@ -1,3 +1,12 @@
+template "/etc/init.d/gearmand" do
+ mode "0755"
+ source "gearmand.initd.erb"
+ variables(
+ :prefix => node[:gearmand][:prefix],
+ :user => node[:gearmand][:user]
+ )
+end
+
gearmand_d = [
"g++",
"libevent-dev",

0 comments on commit 11e0b5d

Please sign in to comment.