Fix duplicate definition error by changing restore_file and tar check exec; update service only_if