Jump to content

Persistent Environment PATH


Recommended Posts

Hi,

i would like to install a binary which is wrapper for restic called resticprofile.
so make a folder at /mnt/cache/appdata/resticprofile
this wrapper need to use profile and for easy of use the profile is best in certain default folders current directory of the binary.

i need to add the path permanently. this `export PATH="$PATH:/mnt/cache/appdata/resticprofile"` works for only terminal session. gone when i close it.
i used the userscripts to add the same command. be it running in foreground or background, it will never in the system regardless whether i use unraid web terminal or ssh session. how to actually make it work by making it in the memory at every array start

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...