*daemon.bash - add current path resolver, add restart option