sm -restart scheduler restarting server

Hi!
i made linker as stand alone servlet and try to restart it using sm -restart:0 -pid:xxxx but server servlet restarts together with linker.
do you know the way restart linker by javascript without restarting main servlet with users?