rm log & pid file