spelling fix var name
set the pidfile on start