How do I change the temporary directory that Capistrano uses?

后端 未结 3 914
礼貌的吻别
礼貌的吻别 2021-02-13 17:46

How would I change the temporary dir that Capistrano uses?

Example: Instead of /tmp, I want to use /home/user/tmp

My current VPS has

3条回答
  •  伪装坚强ぢ
    2021-02-13 18:09

    Are you talking about the remote tmp directory? If yes, here an example::

    set :copy_remote_dir, deploy_to

    This will change the default tmp directory where the archive was copied on the remote server to the deployment directory instead.

提交回复
热议问题