We have a custom program (test
) to use the following structure, e.g.
myapp
myapp\version1\
myapp\version1\test
myapp\version1\logs\..
myapp\version2\test
myapp\version2\logs\..
myapp\running -> version1
And we run like that
./mysqpp/running/test
The running
symlink is currently pointing to version1, we want to change the symlink to version2 when the program is running, will there be any side effect?
(We dont want to interrupt the current service, just want when the server is restarted next time, it is using version2)