Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Overwrite the Start-stash.sh

AKASH BHARDWAJ November 16, 2015

Hi,

I need to make 1 change where ssh= false should be replaced with ssh=true.

Either way i am also comfortable with Copying the whole content of my existing stash-config.properties file with newly created Stash-config.propeties1 .

My purpose here is to when stash stops for hourly backup i need to copy the newly created file overwrite the existing stash-config.prpoerties file when start-stash.sh runs.

 

Could someone please suggest how could these be achieved.


I know it would be simply adding 1 line under start-stash.sh file.

 

Many Thanks,

Akash

1 answer

1 accepted

0 votes
Answer accepted
AKASH BHARDWAJ November 17, 2015

I have got it, just add cp command to overwrite .

 

cp source file target file --> under stop-stash.sh

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events