Skip to content

Instantly share code, notes, and snippets.

@feyyazesat
Last active August 29, 2015 14:21
Show Gist options
  • Select an option

  • Save feyyazesat/18daf74bae3454919ff5 to your computer and use it in GitHub Desktop.

Select an option

Save feyyazesat/18daf74bae3454919ff5 to your computer and use it in GitHub Desktop.

Revisions

  1. feyyazesat revised this gist May 26, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion capistranosymfonysettings.rb
    Original file line number Diff line number Diff line change
    @@ -14,7 +14,7 @@
    set :cache_path, fetch(:var_path) + "/cache"

    # Method used to set permissions (:chmod, :acl, or :chown)
    set :permission_method, fetch(:chmod)
    set :permission_method, "chmod"

    # Execute set permissions
    set :use_set_permissions, true
  2. feyyazesat revised this gist May 26, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion capistranosymfonysettings.rb
    Original file line number Diff line number Diff line change
    @@ -14,7 +14,7 @@
    set :cache_path, fetch(:var_path) + "/cache"

    # Method used to set permissions (:chmod, :acl, or :chown)
    set :permission_method, "chmod"
    set :permission_method, fetch(:chmod)

    # Execute set permissions
    set :use_set_permissions, true
  3. feyyazesat created this gist May 26, 2015.
    20 changes: 20 additions & 0 deletions capistranosymfonysettings.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    # Symfony bin path
    set :bin_path, "bin"

    # Symfony var path
    set :var_path, "var"

    # Symfony console path
    set :symfony_console_path, fetch(:bin_path) + "/console"

    # Symfony log path
    set :log_path, fetch(:var_path) + "/logs"

    # Symfony cache path
    set :cache_path, fetch(:var_path) + "/cache"

    # Method used to set permissions (:chmod, :acl, or :chown)
    set :permission_method, "chmod"

    # Execute set permissions
    set :use_set_permissions, true