Skip to content
This repository was archived by the owner on Nov 14, 2022. It is now read-only.

Latest commit

 

History

History
31 lines (19 loc) · 606 Bytes

018_change_temp_path.md

File metadata and controls

31 lines (19 loc) · 606 Bytes

How to change temp path

The tedge command can be used to change the temp path. By default the directory used is /tmp.

To change the temp path, run:

sudo tedge config set tmp.path /path/to/directory

Note that the directory must be available to tedge-agent user and tedge-agent group.

For example:

# create a directory (with/without sudo)

mkdir ~/tedge_tmp_dir

# give ownership to tedge-agent

sudo chown tedge-agent:tedge-agent ~/tedge_tmp_dir 

# reconnect to cloud.

To revert the path back to its default value:

sudo tedge config unset tmp.path