lib/citrin/app.rb in citrin-0.0.10 vs lib/citrin/app.rb in citrin-0.1.1
- old
+ new
@@ -38,11 +38,16 @@
"#{@name}.#{`hostname -f`}"
else
raise "Invalid Environment"
end
end
- def webserver_config_file
+
+ def webserver_link_file
"/etc/apache2/sites-enabled/#{@env}.#{@name}.conf"
+ end
+
+ def webserver_config_file
+ "/etc/apache2/sites-available/#{@env}.#{@name}.conf"
end
def db_name
"#{@name}_#{@env}"
end