set pidfile