0

I have added the env variable CFY_WORKDIR (in /etc/environment) to change the current working directory. In my understanding to take this new directory into effect, I need to restart the cloudify manager. Is it possible to do this?

Vishwa Dany
  • 327
  • 2
  • 16

2 Answers2

2

for the followup questions in comments, you can update TMPDIR environment variable in /etc/sysconfig/cloudify-restservice and /etc/sysconfig/cloudify-mgmtworker, then restart the services using sudo systemctl restart cloudify-restservice and sudo systemctl restart cloudify-mgmtworker.

updating config.yaml is also an option for mgmtworker, but only before running cfy_manager install.

1

The 'CFY_WORKDIR' is specifically to change the working directory for the CLI components. Therefore, this is independent of the Manager and you will not need to restart anything. You can try running 'cfy profiles use MANAGER_IP' again to connect to the running manager and see if that works.

Jeremy