Check for existence before deletion, not for type:file

This check was always failing as the type was a directory and not a file. Using `-e` means that we check for any type.

Also modify the service stop and start times so that we don't remove files from underneath a process.